{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\LogSlimMajPSRM.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}29 Oct 2019, 12:26:26
{txt}
{com}.  
. 
. ******************** TABLE 1 *************************************************** 
.  
. 
. use "\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\DataSlimMajPSRM.dta", replace 
{txt}
{com}. 
.  keep stabbr year tots toth dems demh reps reph demh_pct dems_pct reph_pct reps_pct LIV 
{txt}
{com}.  
.  sort  stabbr year
{txt}
{com}. 
.  save "\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\DataSlimMajPSRM_for_merge.dta", replace 
{txt}file \\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\DataSlimMajPSRM_for_merge.dta saved

{com}. 
.  
. use "\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\StateLegislatureElectionData\21480-0001-Data.dta", replace
{txt}(State Legislative Election Returns, 1967-2003, Dataset 0001)

{com}.  
.  
. * V5: state
. * V6: year
. * V8: District number
. * V7: Senate or House seat
. * V28: Margin of victory in that district
. * V31: Election Outcome "1" means winner.
. * Our unity of observation is the district in a state-year, so we only need one observation (one row) for the mother dataset.
. * We keep the row of the winner in each district.
. 
. /* After the merge, this do file creates the variables nclose:
>  the percentage of seats in that election in which the majority party won with  
> a margin of victory below 5%
> */
.  
. keep  V5 V6 V8 V7 V14 V28   V11 V31
{txt}
{com}. 
. keep if V11=="G"
{txt}(40,026 observations deleted)

{com}. 
. keep if V31==1 /*only winners*/
{txt}(102,949 observations deleted)

{com}. drop V11 V31
{txt}
{com}. 
. gen stabbr="CT" if  V5==1
{txt}(112,453 missing values generated)

{com}. replace stabbr="ME" if  V5==2
{txt}(3,332 real changes made)

{com}. replace stabbr="MA" if  V5==3
{txt}(3,997 real changes made)

{com}. replace stabbr="NH" if  V5==4
{txt}(7,622 real changes made)

{com}. replace stabbr="RI" if  V5==5
{txt}(2,461 real changes made)

{com}. replace stabbr="VT" if  V5==6
{txt}(1,616 real changes made)

{com}. replace stabbr="DE" if  V5==11
{txt}(972 real changes made)

{com}. replace stabbr="NJ" if  V5==12
{txt}(1,837 real changes made)

{com}. replace stabbr="NY" if  V5==13
{txt}(5,546 real changes made)

{com}. replace stabbr="PA" if  V5==14
{txt}(4,106 real changes made)

{com}. replace stabbr="IL" if  V5==21
{txt}(3,190 real changes made)

{com}. replace stabbr="IN" if  V5==22
{txt}(2,246 real changes made)

{com}. replace stabbr="MI" if  V5==23
{txt}(2,321 real changes made)

{com}. replace stabbr="OH" if  V5==24
{txt}(2,082 real changes made)

{com}. replace stabbr="WI" if  V5==25
{txt}(2,086 real changes made)

{com}. replace stabbr="IA" if  V5==31
{txt}(2,328 real changes made)

{com}. replace stabbr="KS" if  V5==32
{txt}(2,612 real changes made)

{com}. replace stabbr="MN" if  V5==33
{txt}(3,151 real changes made)

{com}. replace stabbr="MO" if  V5==34
{txt}(3,247 real changes made)

{com}. replace stabbr="NB" if  V5==35
{txt}(463 real changes made)

{com}. replace stabbr="ND" if  V5==36
{txt}(2,214 real changes made)

{com}. replace stabbr="SD" if  V5==37
{txt}(1,901 real changes made)

{com}. replace stabbr="VA" if  V5==40
{txt}(2,161 real changes made)

{com}. replace stabbr="AL" if  V5==41
{txt}(1,401 real changes made)

{com}. replace stabbr="AR" if  V5==42
{txt}(2,010 real changes made)

{com}. replace stabbr="FL" if  V5==43
{txt}(2,576 real changes made)

{com}. replace stabbr="GA" if  V5==44
{txt}(4,275 real changes made)

{com}. replace stabbr="LA" if  V5==45
{txt}(757 real changes made)

{com}. replace stabbr="MS" if  V5==46
{txt}(1,562 real changes made)

{com}. replace stabbr="NC" if  V5==47
{txt}(2,492 real changes made)

{com}. replace stabbr="SC" if  V5==48
{txt}(2,643 real changes made)

{com}. replace stabbr="TX" if  V5==49
{txt}(3,057 real changes made)

{com}. replace stabbr="KY" if  V5==51
{txt}(2,018 real changes made)

{com}. replace stabbr="MD" if  V5==52
{txt}(1,690 real changes made)

{com}. replace stabbr="OK" if  V5==53
{txt}(1,994 real changes made)

{com}. replace stabbr="TN" if  V5==54
{txt}(2,047 real changes made)

{com}. replace stabbr="WV" if  V5==56
{txt}(2,116 real changes made)

{com}. replace stabbr="AZ" if  V5==61
{txt}(1,620 real changes made)

{com}. replace stabbr="CO" if  V5==62
{txt}(1,492 real changes made)

{com}. replace stabbr="ID" if  V5==63
{txt}(1,969 real changes made)

{com}. replace stabbr="MT" if  V5==64
{txt}(2,307 real changes made)

{com}. replace stabbr="NV" if  V5==65
{txt}(932 real changes made)

{com}. replace stabbr="NM" if  V5==66
{txt}(1,620 real changes made)

{com}. replace stabbr="UT" if  V5==67
{txt}(1,620 real changes made)

{com}. replace stabbr="WY" if  V5==68
{txt}(1,403 real changes made)

{com}. replace stabbr="CA" if  V5==71
{txt}(1,800 real changes made)

{com}. replace stabbr="OR" if  V5==72
{txt}(1,357 real changes made)

{com}. replace stabbr="WA" if  V5==73
{txt}(2,215 real changes made)

{com}. replace stabbr="AK" if  V5==81
{txt}(930 real changes made)

{com}. replace stabbr="HW" if  V5==82
{txt}(1,059 real changes made)

{com}. 
. 
. rename V6 year
{res}{txt}
{com}. 
. 
. sort  stabbr year
{txt}
{com}. 
. 
. 
. 
. merge m:1 stabbr year  using  "\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\DataSlimMajPSRM_for_merge.dta"
{res}{txt}{p 0 7 2}
(note: variable
year was 
long, now double to accommodate using data's values)
{p_end}

{col 5}Result{col 38}# of obs.
{col 5}{hline 41}
{col 5}not matched{col 30}{res}           8,600
{txt}{col 9}from master{col 30}{res}           7,219{txt}  (_merge==1)
{col 9}from using{col 30}{res}           1,381{txt}  (_merge==2)

{col 5}matched{col 30}{res}         108,806{txt}  (_merge==3)
{col 5}{hline 41}

{com}. * the data from the main file is necessary to identify the majority party and exclude states with unusual institutional framework
. 
. keep if _merge==3
{txt}(8,600 observations deleted)

{com}. drop _merge
{txt}
{com}. 
. 
. * Only states with 2-chambers and similar relative powers
. keep if LIV==1
{txt}(19,984 observations deleted)

{com}. * we drop the following states because they are not part of the working sample
. drop if stabbr=="AK"
{txt}(0 observations deleted)

{com}. drop if stabbr=="HW"
{txt}(0 observations deleted)

{com}. drop if stabbr=="MN"
{txt}(0 observations deleted)

{com}. drop if stabbr=="NB"
{txt}(0 observations deleted)

{com}. 
. 
. ******* Generate indicator variable for majority:
. gen majority=1 if ((demh_pct>=0.5 & V14==100 & V7==9) | (demh_pct<=0.5 & V14==200 & V7==9)) | ((dems_pct>=0.5 & V14==100 & V7==8) | (dems_pct<=0.5 & V14==200 & V7==8))
{txt}(32,627 missing values generated)

{com}. replace majority=0 if majority==.
{txt}(32,627 real changes made)

{com}. * if an election delivers 0.5 for both parties, any switch would work
. 
. 
. ****** Generating nclose
. 
. ** nclose is the percentage of seats won by the majority that were close (less than 5% margin of victory)
. 
. bys stabbr year V7: egen n_close5=sum(V28<=5) if majority==1 & V28~=.
{txt}(43309 missing values generated)

{com}. * a state-district election is defined as close is one of the majority party seats was won by less than a 5% margin of victory
. 
. * p_close is defined in terms of the fraction of seats
. gen p_close5=n_close5/tots if V7==8
{txt}(78,476 missing values generated)

{com}. replace p_close5=n_close5/toth if V7==9
{txt}(35,167 real changes made)

{com}. 
. 
. * The observation is a state year. We only need one row from each state-chamber year
. 
. bys stabbr year  V7: egen number_close5=mean(n_close5)
{txt}(6609 missing values generated)

{com}. bys stabbr year  V7: egen percent_close5=mean(p_close5)
{txt}(6609 missing values generated)

{com}. 
. /* These are for visualiation of the partisan identity of the close state-district seats
> bys stabbr year  V7: egen number_close5_dem=sum(demh_close5)
> bys stabbr year  V7: egen number_close5_rep=sum(reph_close5)
> */
. 
. bys stabbr year  V7: gen n=_n
{txt}
{com}. keep if n==1 
{txt}(87,547 observations deleted)

{com}. 
. 
. drop majority  n
{txt}
{com}. 
. 
. 
. **** Table 1 - results
. 
. 
. *State House - number of seats
. 
. gen demh_num=demh-reph
{txt}
{com}. 
. count if    demh_num>=-1 & demh_num<=1  &  V7==9 & number_close5~=.
  {res}10
{txt}
{com}. *  10
. count if    demh_num>=-1 & demh_num<=1  &  V7==9 & number_close5>1 & number_close5~=.
  {res}10
{txt}
{com}. *  10  100% i.e., in each slim majority of 1 there was at least 1 seat belonging to the majority part which had a margin of victory below 5%
. count if    demh_num>=-2 & demh_num<=2  &  V7==9 & number_close5~=.
  {res}20
{txt}
{com}. *  20
. count if    demh_num>=-2 & demh_num<=2  &  V7==9 & number_close5>1 & number_close5~=.
  {res}19
{txt}
{com}. *  19  95%%
. 
. * to visualize the partisan identiy of the close state-distric elections:
. *br  year stabbr demh_num number_close5 number_close5_dem number_close5_rep   if    demh_num>=-1 & demh_num<=1  &  V7==9 & number_close5~=.
. *br  year stabbr demh_num number_close5 number_close5_dem number_close5_rep demh reph  if    demh_num>=-2 & demh_num<=2  &  V7==9  & number_close5~=.
. 
. 
. count if    demh_num>=-3 & demh_num<=3  &  V7==9 & number_close5~=.
  {res}34
{txt}
{com}. *  34
. count if    demh_num>=-3 & demh_num<=3  &  V7==9 & number_close5>1 & number_close5~=.
  {res}27
{txt}
{com}. *  27  79%
. count if    demh_num>=-1 & demh_num<=4  &  V7==9 & number_close5~=.
  {res}23
{txt}
{com}. *  23
. count if    demh_num>=-1 & demh_num<=4  &  V7==9 & number_close5>1 & number_close5~=.
  {res}18
{txt}
{com}. *  18  78%
. count if    demh_num>=-5 & demh_num<=5  &  V7==9 & number_close5~=.
  {res}60
{txt}
{com}. *  60
. count if    demh_num>=-5 & demh_num<=5  &  V7==9 & number_close5>1 & number_close5~=.
  {res}47
{txt}
{com}. *  47  78%
. 
. 
. *State House - percentage of seats
. 
. count if    demh_pct>=0.49 & demh_pct<=0.51  &  V7==9 & percent_close5~=.
  {res}18
{txt}
{com}. *  18
. count if    demh_pct>=0.49 & demh_pct<=0.51  &  V7==9 & percent_close5>0.01 & percent_close5~=.
  {res}15
{txt}
{com}. *  15  83%
. count if    demh_pct>=0.48 & demh_pct<=0.52  &  V7==9 & percent_close5~=.
  {res}40
{txt}
{com}. *  40
. count if    demh_pct>=0.48 & demh_pct<=0.52  &  V7==9 & percent_close5>0.02 & percent_close5~=.
  {res}25
{txt}
{com}. *  25  62%
. count if    demh_pct>=0.47 & demh_pct<=0.53  &  V7==9 & percent_close5~=.
  {res}61
{txt}
{com}. *  61
. count if    demh_pct>=0.47 & demh_pct<=0.53  &  V7==9 & percent_close5>0.03 & percent_close5~=.
  {res}33
{txt}
{com}. *  33  54%
. count if    demh_pct>=0.46 & demh_pct<=0.54  &  V7==9 & percent_close5~=.
  {res}84
{txt}
{com}. *  84
. count if    demh_pct>=0.46 & demh_pct<=0.54  &  V7==9 & percent_close5>0.04 & percent_close5~=.
  {res}41
{txt}
{com}. *  41 49%
. count if    demh_pct>=0.45 & demh_pct<=0.55  &  V7==9 & percent_close5~=.
  {res}96
{txt}
{com}. *  96
. count if    demh_pct>=0.45 & demh_pct<=0.55  &  V7==9 & percent_close5>0.05 & percent_close5~=.
  {res}41
{txt}
{com}. *  41  43%
. 
. 
. 
. 
. 
. *State Senate - number of seats
. 
. gen dems_num=dems-reps
{txt}
{com}. 
. count if    dems_num>=-1 & dems_num<=1  &  V7==8 & number_close5~=.
  {res}41
{txt}
{com}. *  41
. count if    dems_num>=-1 & dems_num<=1  &  V7==8 & number_close5>1 & number_close5~=.
  {res}22
{txt}
{com}. *  22  53%
. count if    dems_num>=-2 & dems_num<=2  &  V7==8 & number_close5~=.
  {res}69
{txt}
{com}. *  69
. count if    dems_num>=-2 & dems_num<=2  &  V7==8 & number_close5>1 & number_close5~=.
  {res}32
{txt}
{com}. *  32  46%
. count if    dems_num>=-3 & dems_num<=3  &  V7==8 & number_close5~=.
  {res}98
{txt}
{com}. *  98
. count if    dems_num>=-3 & dems_num<=3  &  V7==8 & number_close5>1 & number_close5~=.
  {res}42
{txt}
{com}. *  42  43%
. count if    dems_num>=-1 & dems_num<=4  &  V7==8 & number_close5~=.
  {res}83
{txt}
{com}. *  83
. count if    dems_num>=-1 & dems_num<=4  &  V7==8 & number_close5>1 & number_close5~=.
  {res}37
{txt}
{com}. *  37  45%
. count if    dems_num>=-5 & dems_num<=5  &  V7==8 & number_close5~=.
  {res}164
{txt}
{com}. *  164
. count if    dems_num>=-5 & dems_num<=5  &  V7==8 & number_close5>1 & number_close5~=.
  {res}62
{txt}
{com}. *  62  38%
. 
. 
. *State Senate - percentage of seats
. 
. count if    dems_pct>=0.49 & dems_pct<=0.51  &  V7==8 & percent_close5~=.
  {res}18
{txt}
{com}. *  18
. count if    dems_pct>=0.49 & dems_pct<=0.51  &  V7==8 & percent_close5>0.01 & percent_close5~=.
  {res}15
{txt}
{com}. *  15  83%
. count if    dems_pct>=0.48 & dems_pct<=0.52  &  V7==8 & percent_close5~=.
  {res}43
{txt}
{com}. *  43
. count if    dems_pct>=0.48 & dems_pct<=0.52  &  V7==8 & percent_close5>0.02 & percent_close5~=.
  {res}36
{txt}
{com}. *  36  84%
. count if    dems_pct>=0.47 & dems_pct<=0.53  &  V7==8 & percent_close5~=.
  {res}67
{txt}
{com}. *  67
. count if    dems_pct>=0.47 & dems_pct<=0.53  &  V7==8 & percent_close5>0.03 & percent_close5~=.
  {res}38
{txt}
{com}. *  38  57%
. count if    dems_pct>=0.46 & dems_pct<=0.54  &  V7==8 & percent_close5~=.
  {res}83
{txt}
{com}. *  83
. count if    dems_pct>=0.46 & dems_pct<=0.54  &  V7==8 & percent_close5>0.04 & percent_close5~=.
  {res}31
{txt}
{com}. *  31  37%
. count if    dems_pct>=0.45 & dems_pct<=0.55  &  V7==8 & percent_close5~=.
  {res}115
{txt}
{com}. *  115
. count if    dems_pct>=0.45 & dems_pct<=0.55  &  V7==8 & percent_close5>0.05 & percent_close5~=.
  {res}36
{txt}
{com}. *  36  31%
. 
. 
. 
. 
. *************** Different data set for Table 2 onwards ***********************
. 
. use   "\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\DataSlimMajPSRM.dta", replace 
{txt}
{com}. 
. 
.  /*We only keep the years there was an legislative election
>    The observation is a year with a legislative election.
>    The running  variable is the election result that year.
>    Outcomes are measured in the next year with a legislative election.
>    This is so because the election takes place in the end of the year,
>    typically November, and inauguration is typically in following January.
>    */
.  keep if election_les==1
{txt}(1,070 observations deleted)

{com}.  keep if LIV==1
{txt}(173 observations deleted)

{com}.   
. 
.  /* The data on seats won in an election in year t are coded under number of sets held in year t+1 
>    (i.e., the are coded as the number of seats held by each party during the year an election is
>     taking place). We perform the following change so that the number of seats in year t refer to the election held in year t*/
.  
. sort stabbr year
{txt}
{com}.  by stabbr: gen demgov_new=demgov[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen repgov_new=repgov[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen tots_new=tots[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen toth_new=toth[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen dems_new=dems[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen demh_new=demh[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen reps_new=reps[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen reph_new=reph[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen demh_pct_new=demh_pct[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen dems_pct_new=dems_pct[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen reph_pct_new=reph_pct[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen reps_pct_new=reps_pct[_n+1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen midterm_new=midterm[_n+1]
{txt}(40 missing values generated)

{com}. 
. drop demgov repgov tots toth dems demh reps reph demh_pct dems_pct reph_pct reps_pct  midterm
{txt}
{com}. 
. rename demgov_new demgov
{res}{txt}
{com}. rename repgov_new repgov
{res}{txt}
{com}. rename tots_new    tots
{res}{txt}
{com}. rename toth_new toth
{res}{txt}
{com}. rename dems_new dems
{res}{txt}
{com}. rename demh_new demh
{res}{txt}
{com}. rename reps_new reps
{res}{txt}
{com}. rename reph_new reph
{res}{txt}
{com}. rename demh_pct_new demh_pct
{res}{txt}
{com}. rename dems_pct_new dems_pct
{res}{txt}
{com}. rename reph_pct_new reph_pct
{res}{txt}
{com}. rename reps_pct_new reps_pct
{res}{txt}
{com}. rename midterm_new midterm
{res}{txt}
{com}.   
. 
. 
. 
. /* As described in the paper the sample compries states with the line-item veto.
>    An observatino is a state-year with a legislative election. 
>    The running variable is the election result that year.
>    Outcomes are measure in the next year with a legislative election.
>    This is so because the election takes place in the end of the year,
>    typically November, and inauguration typically in following January.
>    */
.  
. 
. **House
. gen majh_dem=1 if demh_pct>0.5 & demh_pct~=. 
{txt}(358 missing values generated)

{com}. replace majh_dem=0 if demh_pct<0.5 & demh_pct~=reph_pct
{txt}(310 real changes made)

{com}. replace majh_dem=1 if demh_pct==0.5 & reph_pct<0.5  /* 2obs*/
{txt}(1 real change made)

{com}. * treatment can not be determined if there is a tie in the House
. 
. 
. **Senate 
. gen majs_dem=1 if dems_pct>0.5 & dems_pct~=.
{txt}(389 missing values generated)

{com}. replace majs_dem=0 if dems_pct<0.5 & dems_pct~=reps_pct
{txt}(329 real changes made)

{com}. replace majs_dem=1 if dems_pct==0.5 & reps_pct<0.5  /* 3obs*/
{txt}(3 real changes made)

{com}. replace majs_dem=1 if dems_pct==reps_pct  & demgov==1  /* 13 obs*/
{txt}(10 real changes made)

{com}. replace majs_dem=0 if dems_pct==reps_pct & demgov==0  /* 9 obs*/
{txt}(7 real changes made)

{com}. /* treatmetn can be defined in the Senate in case of a tie because of the Lieutenant Governmor.
>  The states with ties are Arizona 1998 LT none, Delaware 1966 LT Dem(s), Florida 1992 LT Dem(s),
>  Iowa 2004 LT Dem(s), Idaho 1990 LT Rep(***not same***), Indiana 1962 LT Rep(***not same****),
>  Michigan 70/72 LT Rep(same), Montana 76 86 LT Dem(s), New Hampshire 74 76 78 LT none,
>  New Jersey 1999 LT none, New Mexico 84 86 LT Dem/Rep(s), Nevada 64 LT Rep, Ohio 64 LT Rep(s),
>  Oregon 2000 LT none, Pennsylvania 60 LT Dem(s), Virginia 95 LT Dem(**not same**), Wyoming 74 LT none
> (s) means same as governor*/
. replace majs_dem=0 if dems_pct==reps_pct & dems_pct~=. & stabbr=="ID"  /*  1 obs*/
{txt}(1 real change made)

{com}. replace majs_dem=0 if dems_pct==reps_pct & dems_pct~=. & stabbr=="IN"  /* 1 obs*/
{txt}(0 real changes made)

{com}. replace majs_dem=1 if dems_pct==reps_pct & dems_pct~=. & stabbr=="VA"  /* 1 obs*/
{txt}(1 real change made)

{com}. replace majs_dem=. if dems_pct==reps_pct & dems_pct~=. & (stabbr=="AZ" | stabbr=="NH" | stabbr=="NJ" | stabbr=="OR" | stabbr=="WY")
{txt}(4 real changes made, 4 to missing)

{com}. 
.         gen demh_num=demh-reph
{txt}(40 missing values generated)

{com}.     gen dems_num=dems-reps
{txt}(40 missing values generated)

{com}. 
. 
.  ** Previous Majority
.  sort stabbr year 
{txt}
{com}.  by stabbr: gen majh_dem_Lag= majh_dem[_n-1]
{txt}(47 missing values generated)

{com}.  by stabbr: gen demh_pct_Lag= demh_pct[_n-1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen demh_num_Lag= demh_num[_n-1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen demh_Lag= demh[_n-1]
{txt}(40 missing values generated)

{com}.  
.  by stabbr: gen demgov_Lag2= demgov[_n-2]
{txt}(80 missing values generated)

{com}.  by stabbr: gen midterm_Lag= midterm[_n-1] /*midterm Lag makes it easier to interpret when splitting the sample*/
{txt}(40 missing values generated)

{com}. 
.  *** INCUMBENCY-MAJORITY EFFECT **
.  by stabbr: gen majh_dem_Next= majh_dem[_n+1]
{txt}(87 missing values generated)

{com}.  by stabbr: gen majh_dem_Next2= majh_dem[_n+2]
{txt}(126 missing values generated)

{com}.  by stabbr: gen majh_dem_Next3= majh_dem[_n+3]
{txt}(165 missing values generated)

{com}.  by stabbr: gen majh_dem_Next4= majh_dem[_n+4]
{txt}(204 missing values generated)

{com}.  by stabbr: gen majh_dem_Next5= majh_dem[_n+5]
{txt}(241 missing values generated)

{com}.  
.  
.  by stabbr: gen demh_pct_Next= demh_pct[_n+1]
{txt}(80 missing values generated)

{com}.  by stabbr: gen demh_num_Next= demh_num[_n+1]
{txt}(80 missing values generated)

{com}.  by stabbr: gen demh_Next= demh[_n+1]
{txt}(80 missing values generated)

{com}. 
.  
.  
.  
.  by stabbr: gen demgov_Next2= demgov[_n+2]
{txt}(119 missing values generated)

{com}. 
.  
.  ** Previous Majority
.  by stabbr: gen majs_dem_Lag= majs_dem[_n-1]
{txt}(44 missing values generated)

{com}.  by stabbr: gen dems_pct_Lag= dems_pct[_n-1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen dems_num_Lag= dems_num[_n-1]
{txt}(40 missing values generated)

{com}.  by stabbr: gen dems_Lag= dems[_n-1]
{txt}(40 missing values generated)

{com}. 
.  *** INCUMBENCY-MAJORITY EFFECT **
.  by stabbr: gen majs_dem_Next= majs_dem[_n+1]
{txt}(84 missing values generated)

{com}.  by stabbr: gen dems_pct_Next= dems_pct[_n+1]
{txt}(80 missing values generated)

{com}.  by stabbr: gen dems_num_Next= dems_num[_n+1]
{txt}(80 missing values generated)

{com}.  by stabbr: gen dems_Next= dems_num[_n+1]
{txt}(80 missing values generated)

{com}. 
.  
.  ** ECONOMIC EFFECTS
.   by stabbr: gen sttottax_inc_Next= sttottax_inc[_n+1]
{txt}(40 missing values generated)

{com}.   by stabbr: gen sttottax_pc_Next= sttottax_pc[_n+1]
{txt}(40 missing values generated)

{com}.   by stabbr: gen stincpc_Next= stincpc[_n+1]
{txt}(40 missing values generated)

{com}.   by stabbr: gen unemp_Next= unemp[_n+1]
{txt}(40 missing values generated)

{com}. 
.  
. 
. ********************************************************
. ****************    TABLE 2   **************************
.    
.     gen stincpc_scaled=stincpc/1000
{txt}
{com}. 
. 
. ******************** 1% - 1% **********************************
. ******************** House - numbers ************************
. 
. ** Add unequal as an option for the ttest to allow for unequal variances on either side of the cutoff.
. 
. ** House - percentage
. ttest majs_dem  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} .3333333{col 34} .1421338{col 46}  .492366{col 58} .0204989{col 70} .6461677
       {txt}1 {c |}{res}{col 12}     11{col 22} .3636364{col 34}   .15212{col 46}  .504525{col 58} .0246919{col 70} .7025809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} .3478261{col 34} .1015433{col 46} .4869848{col 58} .1372381{col 70} .5584141
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.030303{col 34} .2081887{col 58}-.4636073{col 70} .4030012
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1456
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 20.7233

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4428         {txt}Pr(|T| > |t|) = {res}0.8857          {txt}Pr(T > t) = {res}0.5572
{txt}
{com}. * 0.89
. ttest majs_dem_Lag  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     10{col 22}       .5{col 34} .1666667{col 46} .5270463{col 58} .1229738{col 70} .8770262
       {txt}1 {c |}{res}{col 12}      9{col 22} .2222222{col 34} .1469862{col 46} .4409586{col 58}-.1167285{col 70}  .561173
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     19{col 22} .3684211{col 34} .1136972{col 46} .4955946{col 58} .1295521{col 70}   .60729
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2777778{col 34} .2222222{col 58}-.1912271{col 70} .7467827
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2500
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 16.9256

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8858         {txt}Pr(|T| > |t|) = {res}0.2283          {txt}Pr(T > t) = {res}0.1142
{txt}
{com}. * 0.23 
. ttest demgov  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} .4166667{col 34} .1486471{col 46} .5149287{col 58} .0894966{col 70} .7438367
       {txt}1 {c |}{res}{col 12}     11{col 22} .3636364{col 34}   .15212{col 46}  .504525{col 58} .0246919{col 70} .7025809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} .3913043{col 34}  .104051{col 46} .4990109{col 58} .1755159{col 70} .6070928
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0530303{col 34} .2126886{col 58}-.3894149{col 70} .4954755
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2493
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 20.8953

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5972         {txt}Pr(|T| > |t|) = {res}0.8055          {txt}Pr(T > t) = {res}0.4028
{txt}
{com}. *0.80
. ttest demgov_Lag  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     10{col 22}       .6{col 34} .1632993{col 46} .5163978{col 58} .2305913{col 70} .9694087
       {txt}1 {c |}{res}{col 12}      9{col 22} .4444444{col 34} .1756821{col 46} .5270463{col 58} .0393208{col 70} .8495681
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     19{col 22} .5263158{col 34} .1176878{col 46} .5129892{col 58} .2790629{col 70} .7735687
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1555556{col 34} .2398559{col 58}-.3511689{col 70}   .66228
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6485
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 16.7088

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7373         {txt}Pr(|T| > |t|) = {res}0.5255          {txt}Pr(T > t) = {res}0.2627
{txt}
{com}. *0.52
. ttest majh_dem_Lag  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      8{col 22}       .5{col 34} .1889822{col 46} .5345225{col 58}  .053128{col 70}  .946872
       {txt}1 {c |}{res}{col 12}      9{col 22} .4444444{col 34} .1756821{col 46} .5270463{col 58} .0393208{col 70} .8495681
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     17{col 22} .4705882{col 34} .1247835{col 46} .5144958{col 58} .2060589{col 70} .7351175
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0555556{col 34} .2580281{col 58}-.4953563{col 70} .6064674
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2153
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 14.7124

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5838         {txt}Pr(|T| > |t|) = {res}0.8325          {txt}Pr(T > t) = {res}0.4162
{txt}
{com}. *0.83
. ttest stproptax_inc  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     10{col 22} 3.940589{col 34} .2835187{col 46} .8965648{col 58} 3.299225{col 70} 4.581953
       {txt}1 {c |}{res}{col 12}     10{col 22} 3.890462{col 34} .3727979{col 46} 1.178891{col 58} 3.047135{col 70}  4.73379
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22} 3.915526{col 34} .2280066{col 46} 1.019677{col 58} 3.438302{col 70} 4.392749
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0501268{col 34}   .46836{col 58} -.938918{col 70} 1.039172
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1070
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 16.8012

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5420         {txt}Pr(|T| > |t|) = {res}0.9160          {txt}Pr(T > t) = {res}0.4580
{txt}
{com}. * 0.92
. ttest sttottax_inc  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} 4.965811{col 34} .3359134{col 46} 1.163638{col 58}  4.22647{col 70} 5.705151
       {txt}1 {c |}{res}{col 12}     11{col 22} 5.010202{col 34} .3414751{col 46} 1.132545{col 58} 4.249348{col 70} 5.771056
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} 4.987041{col 34} .2341095{col 46}  1.12275{col 58} 4.501528{col 70} 5.472555
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0443918{col 34} .4790021{col 58}-1.040781{col 70}  .951997
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0927
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  20.914

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4635         {txt}Pr(|T| > |t|) = {res}0.9270          {txt}Pr(T > t) = {res}0.5365
{txt}
{com}. *0.92
. ttest unemp  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} 5.591667{col 34} .4469524{col 46} 1.548289{col 58} 4.607931{col 70} 6.575402
       {txt}1 {c |}{res}{col 12}     11{col 22}      6.1{col 34} .6701424{col 46} 2.222611{col 58}  4.60683{col 70}  7.59317
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} 5.834783{col 34}  .390733{col 46}  1.87389{col 58} 5.024452{col 70} 6.645113
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.5083334{col 34} .8055168{col 58}-2.202771{col 70} 1.186105
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6311
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 17.6926

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2680         {txt}Pr(|T| > |t|) = {res}0.5361          {txt}Pr(T > t) = {res}0.7320
{txt}
{com}. *0.53
. ttest stincpc_scaled  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} 11.56983{col 34} .7031579{col 46}  2.43581{col 58} 10.02219{col 70} 13.11747
       {txt}1 {c |}{res}{col 12}     11{col 22} 12.32446{col 34} .8897043{col 46} 2.950815{col 58} 10.34207{col 70} 14.30684
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} 11.93074{col 34} .5545469{col 46} 2.659513{col 58} 10.78068{col 70}  13.0808
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.7546317{col 34} 1.134022{col 58}-3.124186{col 70} 1.614923
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6654
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.4834

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2568         {txt}Pr(|T| > |t|) = {res}0.5136          {txt}Pr(T > t) = {res}0.7432
{txt}
{com}. *0.51
. ttest midterm  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22}       .5{col 34} .1507557{col 46}  .522233{col 58}  .168189{col 70}  .831811
       {txt}1 {c |}{res}{col 12}     11{col 22} .2727273{col 34} .1408358{col 46} .4670994{col 58}-.0410744{col 70} .5865289
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} .3913043{col 34}  .104051{col 46} .4990109{col 58} .1755159{col 70} .6070928
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2272727{col 34} .2063056{col 58} -.201774{col 70} .6563195
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.1016
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 20.9913

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8585         {txt}Pr(|T| > |t|) = {res}0.2831          {txt}Pr(T > t) = {res}0.1415
{txt}
{com}. *0.28   
. 
.         
. ******************** 2 - 2 **********************************
. ******************** House - numbers ************************   
. 
. ttest majs_dem  if demh_num<=2 & demh_num>=-2  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22} .3571429{col 34} .1328944{col 46} .4972452{col 58} .0700421{col 70} .6442437
       {txt}1 {c |}{res}{col 12}     12{col 22} .5833333{col 34} .1486471{col 46} .5149287{col 58} .2561633{col 70} .9105034
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} .4615385{col 34} .0997037{col 46} .5083911{col 58} .2561948{col 70} .6668821
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2261905{col 34} .1993912{col 58}-.6385483{col 70} .1861674
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1344
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.1159

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1341         {txt}Pr(|T| > |t|) = {res}0.2683          {txt}Pr(T > t) = {res}0.8659
{txt}
{com}. * p-value: 0.27
. ttest majs_dem_Lag  if demh_num<=2 & demh_num>=-2  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22}       .5{col 34} .1507557{col 46}  .522233{col 58}  .168189{col 70}  .831811
       {txt}1 {c |}{res}{col 12}     10{col 22}       .5{col 34} .1666667{col 46} .5270463{col 58} .1229738{col 70} .8770262
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     22{col 22}       .5{col 34} .1091089{col 46} .5117663{col 58} .2730955{col 70} .7269045
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34} .2247333{col 58}-.4700026{col 70} .4700026
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0000
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.2233

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5000         {txt}Pr(|T| > |t|) = {res}1.0000          {txt}Pr(T > t) = {res}0.5000
{txt}
{com}. * p-value:1.00
. ttest demgov  if demh_num<=2 & demh_num>=-2  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22}       .5{col 34}  .138675{col 46} .5188745{col 58} .2004108{col 70} .7995892
       {txt}1 {c |}{res}{col 12}     12{col 22} .3333333{col 34} .1421338{col 46}  .492366{col 58} .0204989{col 70} .6461677
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} .4230769{col 34} .0988095{col 46} .5038315{col 58}  .219575{col 70} .6265789
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1666667{col 34} .1985769{col 58}-.2434307{col 70}  .576764
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8393
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.7216

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7952         {txt}Pr(|T| > |t|) = {res}0.4097          {txt}Pr(T > t) = {res}0.2048
{txt}
{com}. *0.41
. ttest demgov_Lag  if demh_num<=2 & demh_num>=-2  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} .4166667{col 34} .1486471{col 46} .5149287{col 58} .0894966{col 70} .7438367
       {txt}1 {c |}{res}{col 12}      9{col 22} .5555556{col 34} .1756821{col 46} .5270463{col 58} .1504319{col 70} .9606792
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .4761905{col 34} .1116766{col 46} .5117663{col 58} .2432372{col 70} .7091437
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1388889{col 34} .2301307{col 58}-.6240801{col 70} .3463023
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6035
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 17.1589

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2770         {txt}Pr(|T| > |t|) = {res}0.5541          {txt}Pr(T > t) = {res}0.7230
{txt}
{com}. *0.55
. ttest majh_dem_Lag  if demh_num<=2 & demh_num>=-2  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     10{col 22}       .5{col 34} .1666667{col 46} .5270463{col 58} .1229738{col 70} .8770262
       {txt}1 {c |}{res}{col 12}     10{col 22}       .6{col 34} .1632993{col 46} .5163978{col 58} .2305913{col 70} .9694087
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22}      .55{col 34} .1141329{col 46} .5104178{col 58} .3111171{col 70} .7888829
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}      -.1{col 34} .2333333{col 58}-.5902298{col 70} .3902298
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4286
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 17.9925

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3367         {txt}Pr(|T| > |t|) = {res}0.6733          {txt}Pr(T > t) = {res}0.6633
{txt}
{com}. *0.67
. ttest stproptax_inc  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} 3.917958{col 34} .3074614{col 46} 1.065078{col 58}  3.24124{col 70} 4.594676
       {txt}1 {c |}{res}{col 12}     10{col 22} 3.973365{col 34} .3964477{col 46} 1.253678{col 58} 3.076538{col 70} 4.870192
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     22{col 22} 3.943143{col 34} .2401317{col 46} 1.126317{col 58} 3.443762{col 70} 4.442524
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0554071{col 34} .5017004{col 58}-1.110245{col 70} .9994306
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1104
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 17.8105

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4566         {txt}Pr(|T| > |t|) = {res}0.9133          {txt}Pr(T > t) = {res}0.5434
{txt}
{com}. * 0.91
. ttest sttottax_inc  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22}  5.11993{col 34} .3103645{col 46} 1.161278{col 58} 4.449428{col 70} 5.790431
       {txt}1 {c |}{res}{col 12}     12{col 22} 4.682905{col 34} .2873539{col 46} .9954233{col 58} 4.050443{col 70} 5.315366
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} 4.918226{col 34} .2136316{col 46} 1.089312{col 58} 4.478243{col 70} 5.358208
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .437025{col 34} .4229638{col 58}-.4359313{col 70} 1.309981
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.0332
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  23.999

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8441         {txt}Pr(|T| > |t|) = {res}0.3118          {txt}Pr(T > t) = {res}0.1559
{txt}
{com}. *0.32 
. ttest unemp  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22} 5.435714{col 34} .4098522{col 46} 1.533527{col 58} 4.550282{col 70} 6.321146
       {txt}1 {c |}{res}{col 12}     12{col 22}     5.75{col 34} .4214873{col 46} 1.460075{col 58} 4.822313{col 70} 6.677687
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} 5.580769{col 34} .2899878{col 46} 1.478653{col 58} 4.983528{col 70}  6.17801
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3142857{col 34} .5879033{col 58} -1.52846{col 70} .8998889
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5346
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.7042

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2990         {txt}Pr(|T| > |t|) = {res}0.5979          {txt}Pr(T > t) = {res}0.7010
{txt}
{com}. *0.60
. ttest midterm  if demh_num<=2 & demh_num>=-2  & election_les==1, by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22}       .5{col 34}  .138675{col 46} .5188745{col 58} .2004108{col 70} .7995892
       {txt}1 {c |}{res}{col 12}     12{col 22} .3333333{col 34} .1421338{col 46}  .492366{col 58} .0204989{col 70} .6461677
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} .4230769{col 34} .0988095{col 46} .5038315{col 58}  .219575{col 70} .6265789
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1666667{col 34} .1985769{col 58}-.2434307{col 70}  .576764
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8393
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.7216

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7952         {txt}Pr(|T| > |t|) = {res}0.4097          {txt}Pr(T > t) = {res}0.2048
{txt}
{com}. * 0.41
. ttest stincpc_scaled  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22} 12.43561{col 34} .7613876{col 46} 2.848852{col 58} 10.79073{col 70} 14.08049
       {txt}1 {c |}{res}{col 12}     12{col 22} 11.41796{col 34} .9329045{col 46} 3.231676{col 58} 9.364656{col 70} 13.47127
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} 11.96593{col 34} .5910616{col 46} 3.013835{col 58} 10.74861{col 70} 13.18324
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.017644{col 34} 1.204169{col 58}-1.478344{col 70} 3.513632
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8451
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.2002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7965         {txt}Pr(|T| > |t|) = {res}0.4071          {txt}Pr(T > t) = {res}0.2035
{txt}
{com}. *0.40
. 
. 
. ** House - percentage
. ttest majs_dem  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .32{col 34}  .095219{col 46} .4760952{col 58} .1234775{col 70} .5165225
       {txt}1 {c |}{res}{col 12}     27{col 22} .4074074{col 34}  .096362{col 46} .5007117{col 58} .2093324{col 70} .6054824
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     52{col 22} .3653846{col 34} .0674288{col 46} .4862359{col 58} .2300157{col 70} .5007536
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0874074{col 34} .1354707{col 58}-.3595136{col 70} .1846988
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6452
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 49.9606

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2609         {txt}Pr(|T| > |t|) = {res}0.5217          {txt}Pr(T > t) = {res}0.7391
{txt}
{com}. * 0.52
. ttest majs_dem_Lag  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .4545455{col 34} .1086571{col 46} .5096472{col 58} .2285805{col 70} .6805104
       {txt}1 {c |}{res}{col 12}     23{col 22} .3913043{col 34}  .104051{col 46} .4990109{col 58} .1755159{col 70} .6070928
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     45{col 22} .4222222{col 34} .0744603{col 46} .4994947{col 58} .2721574{col 70}  .572287
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0632411{col 34} .1504426{col 58}-.2401942{col 70} .3666764
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4204
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.8103

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6618         {txt}Pr(|T| > |t|) = {res}0.6763          {txt}Pr(T > t) = {res}0.3382
{txt}
{com}. * 0.68
. ttest demgov  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .28{col 34} .0916515{col 46} .4582576{col 58} .0908406{col 70} .4691594
       {txt}1 {c |}{res}{col 12}     27{col 22} .2962963{col 34} .0895512{col 46} .4653216{col 58} .1122212{col 70} .4803714
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     52{col 22} .2884615{col 34} .0634393{col 46}  .457467{col 58} .1611019{col 70} .4158212
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0162963{col 34} .1281383{col 58}-.2736951{col 70} .2411025
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1272
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 49.8009

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4497         {txt}Pr(|T| > |t|) = {res}0.8993          {txt}Pr(T > t) = {res}0.5503
{txt}
{com}. *0.90
. ttest demgov_Lag  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .4285714{col 34} .1106567{col 46} .5070926{col 58} .1977457{col 70} .6593972
       {txt}1 {c |}{res}{col 12}     22{col 22} .5454545{col 34} .1086571{col 46} .5096472{col 58} .3194896{col 70} .7714195
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     43{col 22} .4883721{col 34} .0771308{col 46} .5057805{col 58} .3327158{col 70} .6440284
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1168831{col 34} .1550847{col 58}-.4301004{col 70} .1963341
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7537
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 40.9256

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2277         {txt}Pr(|T| > |t|) = {res}0.4554          {txt}Pr(T > t) = {res}0.7723
{txt}
{com}. *0.45
. ttest majh_dem_Lag  if demh_pct<=0.52 & demh_pct>=0.48  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     20{col 22}      .55{col 34} .1141329{col 46} .5104178{col 58} .3111171{col 70} .7888829
       {txt}1 {c |}{res}{col 12}     23{col 22} .5652174{col 34} .1056897{col 46} .5068698{col 58} .3460305{col 70} .7844043
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     43{col 22} .5581395{col 34} .0766283{col 46} .5024855{col 58} .4034973{col 70} .7127818
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0152174{col 34} .1555526{col 58}-.3295779{col 70} .2991431
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0978
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 40.0945

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4613         {txt}Pr(|T| > |t|) = {res}0.9226          {txt}Pr(T > t) = {res}0.5387
{txt}
{com}. *0.92
. ttest stproptax_inc  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     23{col 22} 3.629157{col 34} .2006899{col 46} .9624748{col 58} 3.212951{col 70} 4.045362
       {txt}1 {c |}{res}{col 12}     24{col 22}  3.73616{col 34} .2233904{col 46} 1.094385{col 58} 3.274042{col 70} 4.198279
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22} 3.683797{col 34} .1490968{col 46} 1.022156{col 58}  3.38368{col 70} 3.983913
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1070038{col 34} .3002994{col 58}-.7119571{col 70} .4979495
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3563
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 44.6806

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3616         {txt}Pr(|T| > |t|) = {res}0.7233          {txt}Pr(T > t) = {res}0.6384
{txt}
{com}. *0.72
. ttest sttottax_inc if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22} 5.335282{col 34} .2248558{col 46} 1.124279{col 58} 4.871202{col 70} 5.799361
       {txt}1 {c |}{res}{col 12}     27{col 22}  4.91078{col 34}  .182592{col 46}  .948776{col 58} 4.535457{col 70} 5.286104
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     52{col 22} 5.114868{col 34} .1454174{col 46}  1.04862{col 58}  4.82293{col 70} 5.406805
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .4245014{col 34} .2896549{col 58}-.1581572{col 70}  1.00716
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.4655
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  47.159

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9253         {txt}Pr(|T| > |t|) = {res}0.1494          {txt}Pr(T > t) = {res}0.0747
{txt}
{com}. *0.15 ************************ 0.1494
. ttest unemp  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}    5.644{col 34} .3392187{col 46} 1.696094{col 58} 4.943887{col 70} 6.344113
       {txt}1 {c |}{res}{col 12}     27{col 22} 5.807407{col 34} .3555793{col 46} 1.847644{col 58} 5.076504{col 70} 6.538311
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     52{col 22} 5.728846{col 34} .2441987{col 46} 1.760942{col 58} 5.238597{col 70} 6.219096
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1634074{col 34} .4914326{col 58} -1.15048{col 70} .8236652
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3325
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 49.9975

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3704         {txt}Pr(|T| > |t|) = {res}0.7409          {txt}Pr(T > t) = {res}0.6296
{txt}
{com}. *0.74
. ttest midterm  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .44{col 34} .1013246{col 46} .5066228{col 58} .2308764{col 70} .6491236
       {txt}1 {c |}{res}{col 12}     27{col 22} .4074074{col 34}  .096362{col 46} .5007117{col 58} .2093324{col 70} .6054824
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     52{col 22} .4230769{col 34} .0691805{col 46} .4988675{col 58} .2841913{col 70} .5619625
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0325926{col 34} .1398296{col 58}  -.24832{col 70} .3135052
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2331
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 49.5961

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5917         {txt}Pr(|T| > |t|) = {res}0.8167          {txt}Pr(T > t) = {res}0.4083
{txt}
{com}. *0.82
. ttest stincpc_scaled  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22} 12.30918{col 34} .5624448{col 46} 2.812224{col 58} 11.14835{col 70}    13.47
       {txt}1 {c |}{res}{col 12}     27{col 22} 11.63453{col 34} .5677685{col 46} 2.950212{col 58} 10.46747{col 70}  12.8016
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     52{col 22} 11.95888{col 34} .3989107{col 46} 2.876586{col 58} 11.15803{col 70} 12.75973
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6746437{col 34} .7991903{col 58}-.9306146{col 70} 2.279902
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8442
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 49.9532

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7987         {txt}Pr(|T| > |t|) = {res}0.4026          {txt}Pr(T > t) = {res}0.2013
{txt}
{com}. *0.40   
.         
. 
. 
. ******************** 3 - 3 **********************************
. ******************** House - numbers ************************   
. 
. ttest majs_dem  if demh_num<=3 & demh_num>=-3  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .36{col 34} .0979796{col 46} .4898979{col 58} .1577801{col 70} .5622199
       {txt}1 {c |}{res}{col 12}     18{col 22} .5555556{col 34} .1205169{col 46}   .51131{col 58} .3012871{col 70}  .809824
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     43{col 22} .4418605{col 34} .0766283{col 46} .5024855{col 58} .2872182{col 70} .5965027
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1955556{col 34} .1553201{col 58}-.5106154{col 70} .1195043
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2590
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 35.8162

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1081         {txt}Pr(|T| > |t|) = {res}0.2162          {txt}Pr(T > t) = {res}0.8919
{txt}
{com}. * p-value: 0.22
. ttest majs_dem_Lag  if demh_num<=3 & demh_num>=-3  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .4761905{col 34} .1116766{col 46} .5117663{col 58} .2432372{col 70} .7091437
       {txt}1 {c |}{res}{col 12}     14{col 22}       .5{col 34}  .138675{col 46} .5188745{col 58} .2004108{col 70} .7995892
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     35{col 22} .4857143{col 34} .0857143{col 46} .5070926{col 58} .3115219{col 70} .6599067
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0238095{col 34} .1780517{col 58}-.3886834{col 70} .3410643
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1337
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 27.7445

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4473         {txt}Pr(|T| > |t|) = {res}0.8946          {txt}Pr(T > t) = {res}0.5527
{txt}
{com}. * p-value:0.89
. ttest demgov  if demh_num<=3 & demh_num>=-3  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     26{col 22} .3846154{col 34} .0973009{col 46} .4961389{col 58} .1842205{col 70} .5850102
       {txt}1 {c |}{res}{col 12}     18{col 22} .3333333{col 34} .1143324{col 46} .4850713{col 58} .0921131{col 70} .5745536
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     44{col 22} .3636364{col 34} .0733588{col 46} .4866071{col 58} .2156943{col 70} .5115784
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0512821{col 34} .1501311{col 58}-.2528425{col 70} .3554066
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3416
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 37.2539

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6327         {txt}Pr(|T| > |t|) = {res}0.7346          {txt}Pr(T > t) = {res}0.3673
{txt}
{com}. *0.73
. ttest demgov_Lag  if demh_num<=3 & demh_num>=-3  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .4090909{col 34} .1072903{col 46} .5032363{col 58} .1859684{col 70} .6322134
       {txt}1 {c |}{res}{col 12}     13{col 22} .4615385{col 34} .1439099{col 46} .5188745{col 58} .1479857{col 70} .7750912
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     35{col 22} .4285714{col 34} .0848698{col 46} .5020964{col 58} .2560953{col 70} .6010476
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0524476{col 34} .1795029{col 58}-.4223771{col 70}  .317482
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2922
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 24.6887

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3863         {txt}Pr(|T| > |t|) = {res}0.7726          {txt}Pr(T > t) = {res}0.6137
{txt}
{com}. *0.77
. ttest majh_dem_Lag  if demh_num<=3 & demh_num>=-3  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     20{col 22}      .45{col 34} .1141329{col 46} .5104178{col 58} .2111171{col 70} .6888829
       {txt}1 {c |}{res}{col 12}     14{col 22} .6428571{col 34} .1328944{col 46} .4972452{col 58} .3557563{col 70} .9299579
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     34{col 22} .5294118{col 34} .0868881{col 46} .5066404{col 58} .3526366{col 70}  .706187
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1928571{col 34} .1751777{col 58}-.5513521{col 70} .1656378
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1009
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 28.6027

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1401         {txt}Pr(|T| > |t|) = {res}0.2801          {txt}Pr(T > t) = {res}0.8599
{txt}
{com}. *0.28 
. ttest stproptax_inc  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     23{col 22} 3.657005{col 34} .2490832{col 46} 1.194561{col 58} 3.140438{col 70} 4.173572
       {txt}1 {c |}{res}{col 12}     15{col 22}  3.74813{col 34} .3179861{col 46} 1.231555{col 58} 3.066117{col 70} 4.430142
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     38{col 22} 3.692975{col 34} .1936089{col 46} 1.193485{col 58} 3.300687{col 70} 4.085264
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0911246{col 34} .4039277{col 58}-.9167544{col 70} .7345052
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2256
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  29.406

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4115         {txt}Pr(|T| > |t|) = {res}0.8231          {txt}Pr(T > t) = {res}0.5885
{txt}
{com}. * 0.82
. ttest sttottax_inc  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     26{col 22} 5.340609{col 34} .2157076{col 46} 1.099897{col 58}  4.89635{col 70} 5.784867
       {txt}1 {c |}{res}{col 12}     18{col 22} 4.915334{col 34} .2414703{col 46} 1.024472{col 58} 4.405876{col 70} 5.424792
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     44{col 22} 5.166633{col 34} .1625807{col 46} 1.078438{col 58} 4.838757{col 70} 5.494508
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .4252744{col 34} .3237864{col 58}-.2300002{col 70} 1.080549
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3134
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 38.3508

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9016         {txt}Pr(|T| > |t|) = {res}0.1968          {txt}Pr(T > t) = {res}0.0984
{txt}
{com}. *0.20 
. ttest unemp  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     26{col 22} 5.430769{col 34} .3005518{col 46} 1.532519{col 58} 4.811771{col 70} 6.049767
       {txt}1 {c |}{res}{col 12}     18{col 22} 5.861111{col 34} .4849458{col 46} 2.057451{col 58} 4.837965{col 70} 6.884257
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     44{col 22} 5.606818{col 34} .2647828{col 46}  1.75637{col 58} 5.072833{col 70} 6.140804
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4303419{col 34} .5705294{col 58}-1.596182{col 70} .7354982
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7543
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 29.5983

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2283         {txt}Pr(|T| > |t|) = {res}0.4566          {txt}Pr(T > t) = {res}0.7717
{txt}
{com}. *0.43
. ttest midterm  if demh_num<=3 & demh_num>=-3  & election_les==1, by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     26{col 22} .3846154{col 34} .0973009{col 46} .4961389{col 58} .1842205{col 70} .5850102
       {txt}1 {c |}{res}{col 12}     18{col 22} .3888889{col 34} .1182356{col 46} .5016313{col 58} .1394335{col 70} .6383443
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     44{col 22} .3863636{col 34} .0742539{col 46} .4925448{col 58} .2366163{col 70}  .536111
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0042735{col 34} .1531245{col 58}-.3146903{col 70} .3061433
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0279
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 36.4537

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4889         {txt}Pr(|T| > |t|) = {res}0.9779          {txt}Pr(T > t) = {res}0.5111
{txt}
{com}. * 0.98 
. ttest stincpc_scaled  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     26{col 22} 12.11927{col 34} .5274449{col 46} 2.689452{col 58} 11.03298{col 70} 13.20557
       {txt}1 {c |}{res}{col 12}     18{col 22} 11.60784{col 34}  .728437{col 46} 3.090496{col 58} 10.07098{col 70} 13.14471
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     44{col 22} 11.91005{col 34} .4276273{col 46} 2.836558{col 58} 11.04766{col 70} 12.77245
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .5114293{col 34} .8993435{col 58}-1.317717{col 70} 2.340576
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5687
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 33.2784

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7133         {txt}Pr(|T| > |t|) = {res}0.5734          {txt}Pr(T > t) = {res}0.2867
{txt}
{com}. *0.56
. 
. ** House - percentage
. ttest majs_dem  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} .2972973{col 34} .0761781{col 46} .4633732{col 58}  .142801{col 70} .4517936
       {txt}1 {c |}{res}{col 12}     42{col 22}  .452381{col 34} .0777319{col 46} .5037605{col 58} .2953981{col 70} .6093638
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     79{col 22} .3797468{col 34} .0549521{col 46} .4884249{col 58} .2703456{col 70} .4891481
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1550837{col 34} .1088364{col 58}-.3718115{col 70} .0616442
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4249
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 76.8455

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0791         {txt}Pr(|T| > |t|) = {res}0.1582          {txt}Pr(T > t) = {res}0.9209
{txt}
{com}. * 0.16
. ttest majs_dem_Lag  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     33{col 22} .3939394{col 34} .0863769{col 46} .4961977{col 58} .2179954{col 70} .5698834
       {txt}1 {c |}{res}{col 12}     38{col 22} .4736842{col 34} .0820856{col 46} .5060094{col 58} .3073631{col 70} .6400054
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     71{col 22} .4366197{col 34} .0592794{col 46} .4994967{col 58} .3183908{col 70} .5548487
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0797448{col 34} .1191596{col 58}-.3175267{col 70}  .158037
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6692
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}   67.96

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2528         {txt}Pr(|T| > |t|) = {res}0.5056          {txt}Pr(T > t) = {res}0.7472
{txt}
{com}. * 0.50
. ttest demgov  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} .3783784{col 34} .0808304{col 46} .4916724{col 58} .2144466{col 70} .5423101
       {txt}1 {c |}{res}{col 12}     42{col 22} .3095238{col 34} .0721987{col 46} .4679011{col 58} .1637156{col 70} .4553321
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     79{col 22} .3417722{col 34} .0537043{col 46} .4773344{col 58} .2348551{col 70} .4486892
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0688546{col 34}   .10838{col 58}-.1470664{col 70} .2847755
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6353
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 74.6413

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7364         {txt}Pr(|T| > |t|) = {res}0.5272          {txt}Pr(T > t) = {res}0.2636
{txt}
{com}. *0.53
. ttest demgov_Lag  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     30{col 22}       .4{col 34} .0909718{col 46} .4982729{col 58} .2139418{col 70} .5860582
       {txt}1 {c |}{res}{col 12}     37{col 22} .4324324{col 34} .0825689{col 46} .5022472{col 58} .2649749{col 70}   .59989
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     67{col 22} .4179104{col 34} .0607106{col 46} .4969377{col 58} .2966978{col 70} .5391231
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0324324{col 34} .1228556{col 58}-.2779885{col 70} .2131237
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2640
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 62.3662

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3963         {txt}Pr(|T| > |t|) = {res}0.7927          {txt}Pr(T > t) = {res}0.6037
{txt}
{com}. *0.79
. ttest majh_dem_Lag  if demh_pct<=0.53 & demh_pct>=0.47  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     30{col 22}       .5{col 34} .0928477{col 46} .5085476{col 58} .3101052{col 70} .6898948
       {txt}1 {c |}{res}{col 12}     38{col 22} .6315789{col 34} .0793022{col 46} .4888515{col 58} .4708974{col 70} .7922604
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     68{col 22} .5735294{col 34} .0604206{col 46}  .498241{col 58} .4529294{col 70} .6941294
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1315789{col 34} .1221046{col 58} -.375725{col 70} .1125671
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0776
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 61.2121

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1427         {txt}Pr(|T| > |t|) = {res}0.2854          {txt}Pr(T > t) = {res}0.8573
{txt}
{com}. *0.28
. ttest stproptax_inc  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     34{col 22}  3.92443{col 34} .1833065{col 46} 1.068851{col 58}  3.55149{col 70}  4.29737
       {txt}1 {c |}{res}{col 12}     39{col 22} 3.556389{col 34}  .194902{col 46} 1.217163{col 58} 3.161831{col 70} 3.950948
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     73{col 22} 3.727805{col 34} .1354691{col 46} 1.157449{col 58} 3.457753{col 70} 3.997858
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .3680411{col 34} .2675595{col 58}-.1654581{col 70} .9015403
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3755
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  70.994

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9134         {txt}Pr(|T| > |t|) = {res}0.1733          {txt}Pr(T > t) = {res}0.0866
{txt}
{com}. *0.17 
. ttest sttottax_inc if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} 5.196187{col 34} .1800985{col 46} 1.095497{col 58}  4.83093{col 70} 5.561444
       {txt}1 {c |}{res}{col 12}     42{col 22} 5.208888{col 34} .1629277{col 46} 1.055892{col 58} 4.879849{col 70} 5.537927
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     79{col 22} 5.202939{col 34} .1201255{col 46} 1.067699{col 58} 4.963788{col 70} 5.442091
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0127009{col 34} .2428599{col 58}-.4965072{col 70} .4711055
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0523
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 74.9557

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4792         {txt}Pr(|T| > |t|) = {res}0.9584          {txt}Pr(T > t) = {res}0.5208
{txt}
{com}. *0.95
. ttest unemp  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} 5.410811{col 34} .2584251{col 46} 1.571939{col 58}   4.8867{col 70} 5.934921
       {txt}1 {c |}{res}{col 12}     42{col 22}  5.62381{col 34} .2590927{col 46} 1.679113{col 58} 5.100561{col 70} 6.147058
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     79{col 22} 5.524051{col 34} .1825939{col 46}  1.62293{col 58} 5.160534{col 70} 5.887567
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2129987{col 34} .3659407{col 58}-.9417251{col 70} .5157277
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5821
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 76.7005

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2811         {txt}Pr(|T| > |t|) = {res}0.5622          {txt}Pr(T > t) = {res}0.7189
{txt}
{com}. *0.56
. ttest midterm  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} .3513514{col 34} .0795654{col 46} .4839775{col 58} .1899852{col 70} .5127175
       {txt}1 {c |}{res}{col 12}     42{col 22} .5238095{col 34} .0779983{col 46} .5054867{col 58} .3662888{col 70} .6813303
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     79{col 22}  .443038{col 34} .0562453{col 46} .4999189{col 58} .3310623{col 70} .5550137
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1724582{col 34} .1114199{col 58}-.3943491{col 70} .0494327
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.5478
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 76.4476

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0629         {txt}Pr(|T| > |t|) = {res}0.1258          {txt}Pr(T > t) = {res}0.9371
{txt}
{com}. *0.13  ********************
. ttest stincpc_scaled  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} 11.69389{col 34} .4795028{col 46} 2.916702{col 58} 10.72141{col 70} 12.66636
       {txt}1 {c |}{res}{col 12}     42{col 22} 12.17283{col 34} .4322879{col 46} 2.801546{col 58} 11.29981{col 70} 13.04586
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     79{col 22} 11.94852{col 34} .3203993{col 46} 2.847772{col 58} 11.31065{col 70} 12.58638
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4789466{col 34} .6455972{col 58}-1.765078{col 70}  .807185
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7419
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 74.8722

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2302         {txt}Pr(|T| > |t|) = {res}0.4605          {txt}Pr(T > t) = {res}0.7698
{txt}
{com}. *0.46   
.         
.         
.         
. ******************** 4 - 4 **********************************
. ******************** House - numbers ************************   
. 
. ttest majs_dem  if demh_num<=4 & demh_num>=-4  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     33{col 22} .3939394{col 34} .0863769{col 46} .4961977{col 58} .2179954{col 70} .5698834
       {txt}1 {c |}{res}{col 12}     26{col 22} .5384615{col 34} .0997037{col 46} .5083911{col 58} .3331179{col 70} .7438052
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     59{col 22} .4576271{col 34}  .065417{col 46} .5024778{col 58} .3266807{col 70} .5885735
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1445221{col 34} .1319159{col 58}-.4090889{col 70} .1200446
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0956
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  53.198

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1391         {txt}Pr(|T| > |t|) = {res}0.2782          {txt}Pr(T > t) = {res}0.8609
{txt}
{com}. * p-value: 0.28
. ttest majs_dem_Lag  if demh_num<=4 & demh_num>=-4  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     29{col 22} .5517241{col 34} .0939842{col 46} .5061202{col 58} .3592063{col 70}  .744242
       {txt}1 {c |}{res}{col 12}     22{col 22} .5454545{col 34} .1086571{col 46} .5096472{col 58} .3194896{col 70} .7714195
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     51{col 22} .5490196{col 34}   .07037{col 46} .5025426{col 58} .4076772{col 70}  .690362
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0062696{col 34} .1436642{col 58}-.2830493{col 70} .2955885
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0436
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 45.2014

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5173         {txt}Pr(|T| > |t|) = {res}0.9654          {txt}Pr(T > t) = {res}0.4827
{txt}
{com}. * p-value:0.96
. ttest demgov  if demh_num<=4 & demh_num>=-4  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     34{col 22} .4117647{col 34} .0856728{col 46} .4995542{col 58}  .237462{col 70} .5860674
       {txt}1 {c |}{res}{col 12}     26{col 22} .2692308{col 34}  .088712{col 46} .4523443{col 58} .0865249{col 70} .4519366
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     60{col 22}      .35{col 34} .0620962{col 46} .4809947{col 58} .2257459{col 70} .4742541
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1425339{col 34} .1233274{col 58}-.1044928{col 70} .3895607
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.1557
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 56.2871

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8737         {txt}Pr(|T| > |t|) = {res}0.2527          {txt}Pr(T > t) = {res}0.1263
{txt}
{com}. *0.25
. ttest demgov_Lag  if demh_num<=4 & demh_num>=-4  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     28{col 22} .4285714{col 34} .0952381{col 46} .5039526{col 58}  .233159{col 70} .6239839
       {txt}1 {c |}{res}{col 12}     21{col 22} .5238095{col 34} .1116766{col 46} .5117663{col 58} .2908563{col 70} .7567628
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     49{col 22} .4693878{col 34} .0720334{col 46} .5042338{col 58} .3245549{col 70} .6142206
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0952381{col 34} .1467718{col 58}-.3912571{col 70} .2007809
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6489
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.8722

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2599         {txt}Pr(|T| > |t|) = {res}0.5199          {txt}Pr(T > t) = {res}0.7401
{txt}
{com}. *0.52
. ttest majh_dem_Lag  if demh_num<=4 & demh_num>=-4  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} .5185185{col 34} .0979908{col 46} .5091751{col 58} .3170956{col 70} .7199415
       {txt}1 {c |}{res}{col 12}     22{col 22} .5454545{col 34} .1086571{col 46} .5096472{col 58} .3194896{col 70} .7714195
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     49{col 22} .5306122{col 34} .0720334{col 46} .5042338{col 58} .3857794{col 70} .6754451
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.026936{col 34} .1463167{col 58} -.321632{col 70}   .26776
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1841
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 45.0051

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4274         {txt}Pr(|T| > |t|) = {res}0.8548          {txt}Pr(T > t) = {res}0.5726
{txt}
{com}. *0.85
. ttest stproptax_inc  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     31{col 22} 3.987444{col 34} .2184571{col 46} 1.216317{col 58} 3.541295{col 70} 4.433593
       {txt}1 {c |}{res}{col 12}     23{col 22}  3.89486{col 34} .2553439{col 46} 1.224586{col 58}  3.36531{col 70} 4.424411
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     54{col 22}  3.94801{col 34} .1645436{col 46} 1.209143{col 58} 3.617977{col 70} 4.278043
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0925833{col 34} .3360417{col 58}-.5833029{col 70} .7684695
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2755
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 47.3782

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6079         {txt}Pr(|T| > |t|) = {res}0.7841          {txt}Pr(T > t) = {res}0.3921
{txt}
{com}. * 0.78
. ttest sttottax_inc  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     34{col 22} 5.178795{col 34} .2008226{col 46} 1.170987{col 58} 4.770218{col 70} 5.587372
       {txt}1 {c |}{res}{col 12}     26{col 22} 4.944893{col 34}  .185357{col 46} .9451388{col 58} 4.563144{col 70} 5.326643
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     60{col 22} 5.077438{col 34} .1389917{col 46} 1.076625{col 58} 4.799316{col 70} 5.355559
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2339015{col 34} .2732891{col 58}-.3131859{col 70} .7809889
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8559
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  57.802

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8022         {txt}Pr(|T| > |t|) = {res}0.3956          {txt}Pr(T > t) = {res}0.1978
{txt}
{com}. *0.40 
. ttest unemp  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     34{col 22} 5.317647{col 34}  .258939{col 46} 1.509861{col 58} 4.790832{col 70} 5.844462
       {txt}1 {c |}{res}{col 12}     26{col 22} 5.742308{col 34} .3556651{col 46} 1.813543{col 58} 5.009802{col 70} 6.474814
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     60{col 22} 5.501667{col 34} .2126706{col 46} 1.647339{col 58} 5.076114{col 70} 5.927219
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4246606{col 34} .4399398{col 58}-1.309098{col 70} .4597767
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9653
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 48.2553

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1696         {txt}Pr(|T| > |t|) = {res}0.3392          {txt}Pr(T > t) = {res}0.8304
{txt}
{com}. *0.33
. ttest midterm  if demh_num<=4 & demh_num>=-4  & election_les==1, by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     34{col 22} .3235294{col 34} .0814375{col 46} .4748581{col 58} .1578436{col 70} .4892152
       {txt}1 {c |}{res}{col 12}     26{col 22} .4615385{col 34} .0997037{col 46} .5083911{col 58} .2561948{col 70} .6668821
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     60{col 22} .3833333{col 34} .0632976{col 46} .4903014{col 58}  .256675{col 70} .5099916
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.138009{col 34} .1287357{col 58}-.3963406{col 70} .1203225
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0720
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 51.9634

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1443         {txt}Pr(|T| > |t|) = {res}0.2887          {txt}Pr(T > t) = {res}0.8557
{txt}
{com}. * 0.29
. ttest stincpc_scaled  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     34{col 22}  11.4634{col 34} .4855856{col 46} 2.831426{col 58} 10.47547{col 70} 12.45133
       {txt}1 {c |}{res}{col 12}     26{col 22} 11.58122{col 34}  .566149{col 46} 2.886805{col 58} 10.41522{col 70} 12.74723
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     60{col 22} 11.51446{col 34} .3655758{col 46} 2.831738{col 58} 10.78294{col 70} 12.24597
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.117823{col 34} .7458673{col 58}-1.613573{col 70} 1.377927
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1580
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 53.4133

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4375         {txt}Pr(|T| > |t|) = {res}0.8751          {txt}Pr(T > t) = {res}0.5625
{txt}
{com}. *0.87
. 
. ** House - percentage
. ttest majs_dem  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     63{col 22} .3015873{col 34} .0582863{col 46} .4626334{col 58} .1850746{col 70}    .4181
       {txt}1 {c |}{res}{col 12}     55{col 22} .4727273{col 34} .0679401{col 46} .5038572{col 58} .3365156{col 70} .6089389
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    118{col 22} .3813559{col 34} .0449048{col 46}  .487791{col 58} .2924243{col 70} .4702875
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  -.17114{col 34} .0895162{col 58}-.3485299{col 70} .0062499
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.9118
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 110.572

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0292         {txt}Pr(|T| > |t|) = {res}0.0585          {txt}Pr(T > t) = {res}0.9708
{txt}
{com}. * 0.06 **********************
. ttest majs_dem_Lag  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     59{col 22} .3898305{col 34} .0640397{col 46} .4918981{col 58} .2616412{col 70} .5180199
       {txt}1 {c |}{res}{col 12}     51{col 22} .5294118{col 34} .0705882{col 46} .5041008{col 58} .3876311{col 70} .6711924
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    110{col 22} .4545455{col 34}  .047693{col 46} .5002085{col 58} .3600195{col 70} .5490714
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1395813{col 34} .0953089{col 58} -.328563{col 70} .0494005
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4645
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 104.911

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0730         {txt}Pr(|T| > |t|) = {res}0.1460          {txt}Pr(T > t) = {res}0.9270
{txt}
{com}. * 0.14
. ttest demgov  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22}     .375{col 34} .0609938{col 46}   .48795{col 58} .2531137{col 70} .4968863
       {txt}1 {c |}{res}{col 12}     55{col 22} .3818182{col 34} .0661134{col 46} .4903101{col 58} .2492688{col 70} .5143676
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    119{col 22} .3781513{col 34}  .044641{col 46} .4869761{col 58} .2897499{col 70} .4665526
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0068182{col 34} .0899512{col 58}-.1850082{col 70} .1713719
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0758
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 114.157

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4699         {txt}Pr(|T| > |t|) = {res}0.9397          {txt}Pr(T > t) = {res}0.5301
{txt}
{com}. *0.93
. ttest demgov_Lag  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22} .3584906{col 34} .0665026{col 46} .4841463{col 58} .2250433{col 70} .4919378
       {txt}1 {c |}{res}{col 12}     50{col 22}      .46{col 34} .0711996{col 46} .5034574{col 58}  .316919{col 70}  .603081
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    103{col 22}  .407767{col 34} .0486578{col 46} .4938225{col 58} .3112545{col 70} .5042795
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1015094{col 34} .0974268{col 58}-.2948005{col 70} .0917816
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0419
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 100.041

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1500         {txt}Pr(|T| > |t|) = {res}0.3000          {txt}Pr(T > t) = {res}0.8500
{txt}
{com}. *0.30
. ttest majh_dem_Lag  if demh_pct<=0.54 & demh_pct>=0.46  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     57{col 22} .4385965{col 34} .0663096{col 46} .5006262{col 58} .3057625{col 70} .5714305
       {txt}1 {c |}{res}{col 12}     50{col 22}      .66{col 34} .0676727{col 46} .4785181{col 58} .5240067{col 70} .7959933
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    107{col 22} .5420561{col 34} .0483922{col 46} .5005728{col 58} .4461138{col 70} .6379983
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2214035{col 34} .0947447{col 58}-.4092813{col 70}-.0335257
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.3368
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 104.208

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0107         {txt}Pr(|T| > |t|) = {res}0.0214          {txt}Pr(T > t) = {res}0.9893
{txt}
{com}. *0.02  *******************
. ttest stproptax_inc  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} 4.013315{col 34} .1387671{col 46} 1.083805{col 58} 3.735739{col 70}  4.29089
       {txt}1 {c |}{res}{col 12}     51{col 22} 3.536091{col 34}  .167475{col 46} 1.196011{col 58} 3.199708{col 70} 3.872475
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    112{col 22} 3.796008{col 34} .1092291{col 46} 1.155972{col 58} 3.579563{col 70} 4.012452
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .4772233{col 34} .2174952{col 58} .0458283{col 70} .9086183
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.1942
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 102.113

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9848         {txt}Pr(|T| > |t|) = {res}0.0305          {txt}Pr(T > t) = {res}0.0152
{txt}
{com}. *0.03 *********
. ttest sttottax_inc if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22}  5.13058{col 34} .1392436{col 46} 1.113949{col 58} 4.852324{col 70} 5.408837
       {txt}1 {c |}{res}{col 12}     55{col 22} 5.199856{col 34} .1295604{col 46} .9608456{col 58} 4.940103{col 70} 5.459609
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    119{col 22} 5.162599{col 34} .0955392{col 46}  1.04221{col 58} 4.973405{col 70} 5.351792
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0692759{col 34} .1901964{col 58}-.4459501{col 70} .3073983
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3642
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 116.997

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3582         {txt}Pr(|T| > |t|) = {res}0.7163          {txt}Pr(T > t) = {res}0.6418
{txt}
{com}. *0.71
. ttest unemp  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22} 5.178125{col 34} .1779996{col 46} 1.423997{col 58} 4.822421{col 70} 5.533829
       {txt}1 {c |}{res}{col 12}     55{col 22} 5.630909{col 34} .2108005{col 46} 1.563338{col 58}  5.20828{col 70} 6.053539
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    119{col 22} 5.387395{col 34} .1375801{col 46} 1.500822{col 58} 5.114949{col 70} 5.659841
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4527841{col 34} .2758999{col 58}-.9995327{col 70} .0939645
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.6411
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 110.365

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0518         {txt}Pr(|T| > |t|) = {res}0.1036          {txt}Pr(T > t) = {res}0.9482
{txt}
{com}. *0.10 ****************
. ttest midterm  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22}  .390625{col 34} .0614684{col 46} .4917474{col 58} .2677902{col 70} .5134598
       {txt}1 {c |}{res}{col 12}     55{col 22} .4727273{col 34} .0679401{col 46} .5038572{col 58} .3365156{col 70} .6089389
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    119{col 22} .4285714{col 34} .0455566{col 46} .4969641{col 58} .3383569{col 70}  .518786
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0821023{col 34}   .09162{col 58}-.2636104{col 70} .0994059
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8961
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 113.437

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1860         {txt}Pr(|T| > |t|) = {res}0.3721          {txt}Pr(T > t) = {res}0.8140
{txt}
{com}. *0.37
. ttest stincpc_scaled  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22} 11.51989{col 34} .3677323{col 46} 2.941859{col 58} 10.78504{col 70} 12.25475
       {txt}1 {c |}{res}{col 12}     55{col 22} 12.65356{col 34} .3992542{col 46} 2.960948{col 58} 11.85311{col 70} 13.45402
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    119{col 22} 12.04386{col 34}   .27432{col 46} 2.992478{col 58} 11.50063{col 70} 12.58709
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -1.13367{col 34} .5427992{col 58}-2.208941{col 70}-.0583993
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.0886
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 114.099

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0195         {txt}Pr(|T| > |t|) = {res}0.0390          {txt}Pr(T > t) = {res}0.9805
{txt}
{com}. *0.04 ****      
.                 
.         
. 
.         
.         
. ******************** 5 - 5 **********************************
. ******************** House - numbers ************************   
. 
. ttest majs_dem  if demh_num<=5 & demh_num>=-5  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     43{col 22} .3953488{col 34} .0754428{col 46} .4947118{col 58}  .243099{col 70} .5475987
       {txt}1 {c |}{res}{col 12}     37{col 22} .5675676{col 34} .0825689{col 46} .5022472{col 58}   .40011{col 70} .7350251
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     80{col 22}     .475{col 34}  .056184{col 46} .5025253{col 58} .3631685{col 70} .5868315
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1722187{col 34} .1118448{col 58}-.3949829{col 70} .0505454
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.5398
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  75.873

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0639         {txt}Pr(|T| > |t|) = {res}0.1278          {txt}Pr(T > t) = {res}0.9361
{txt}
{com}. * p-value: 0.13 *************
. ttest majs_dem_Lag  if demh_num<=5 & demh_num>=-5  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     39{col 22} .5128205{col 34}  .081084{col 46} .5063697{col 58} .3486745{col 70} .6769666
       {txt}1 {c |}{res}{col 12}     33{col 22} .5151515{col 34} .0883478{col 46} .5075192{col 58}  .335193{col 70}   .69511
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     72{col 22} .5138889{col 34} .0593162{col 46} .5033145{col 58} .3956158{col 70}  .632162
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.002331{col 34} .1199164{col 58}-.2416211{col 70} .2369591
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0194
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 67.9902

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4923         {txt}Pr(|T| > |t|) = {res}0.9845          {txt}Pr(T > t) = {res}0.5077
{txt}
{com}. * p-value:0.98
. ttest demgov  if demh_num<=5 & demh_num>=-5  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     44{col 22} .3863636{col 34} .0742539{col 46} .4925448{col 58} .2366163{col 70}  .536111
       {txt}1 {c |}{res}{col 12}     37{col 22} .2972973{col 34} .0761781{col 46} .4633732{col 58}  .142801{col 70} .4517936
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     81{col 22}  .345679{col 34} .0531725{col 46} .4785523{col 58} .2398624{col 70} .4514956
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0890663{col 34} .1063802{col 58}-.1227214{col 70} .3008541
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8372
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 77.9753

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7975         {txt}Pr(|T| > |t|) = {res}0.4050          {txt}Pr(T > t) = {res}0.2025
{txt}
{com}. *0.41
. ttest demgov_Lag  if demh_num<=5 & demh_num>=-5  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} .3783784{col 34} .0808304{col 46} .4916724{col 58} .2144466{col 70} .5423101
       {txt}1 {c |}{res}{col 12}     32{col 22}   .40625{col 34}   .08821{col 46} .4989909{col 58} .2263446{col 70} .5861554
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     69{col 22} .3913043{col 34} .0591838{col 46} .4916177{col 58} .2732049{col 70} .5094038
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0278716{col 34} .1196435{col 58}-.2667966{col 70} .2110533
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2330
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  65.282

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4083         {txt}Pr(|T| > |t|) = {res}0.8165          {txt}Pr(T > t) = {res}0.5917
{txt}
{com}. *0.81
. ttest majh_dem_Lag  if demh_num<=5 & demh_num>=-5  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     37{col 22} .4864865{col 34} .0833029{col 46} .5067117{col 58} .3175404{col 70} .6554326
       {txt}1 {c |}{res}{col 12}     33{col 22} .5757576{col 34} .0873679{col 46} .5018904{col 58}  .397795{col 70} .7537202
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     70{col 22} .5285714{col 34} .0600946{col 46} .5027873{col 58}  .408686{col 70} .6484568
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0892711{col 34} .1207167{col 58}-.3302071{col 70} .1516649
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7395
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 67.2357

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2311         {txt}Pr(|T| > |t|) = {res}0.4622          {txt}Pr(T > t) = {res}0.7689
{txt}
{com}. *0.46
. ttest stproptax_inc  if demh_num<=5 & demh_num>=-5 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     41{col 22} 3.811703{col 34} .1914681{col 46} 1.225994{col 58} 3.424731{col 70} 4.198674
       {txt}1 {c |}{res}{col 12}     34{col 22} 3.690332{col 34} .2182419{col 46} 1.272558{col 58} 3.246316{col 70} 4.134349
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 3.756681{col 34} .1432169{col 46} 1.240295{col 58} 3.471315{col 70} 4.042047
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1213702{col 34} .2903266{col 58}-.4577531{col 70} .7004934
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4180
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 69.4204

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6614         {txt}Pr(|T| > |t|) = {res}0.6772          {txt}Pr(T > t) = {res}0.3386
{txt}
{com}. * 0.67
. ttest sttottax_inc  if demh_num<=5 & demh_num>=-5 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     44{col 22} 5.190311{col 34}  .166406{col 46} 1.103812{col 58} 4.854721{col 70} 5.525901
       {txt}1 {c |}{res}{col 12}     37{col 22} 5.182203{col 34} .1781595{col 46} 1.083702{col 58} 4.820878{col 70} 5.543527
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     81{col 22} 5.186607{col 34} .1208709{col 46} 1.087838{col 58} 4.946066{col 70} 5.427148
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0081085{col 34} .2437863{col 58}-.4773229{col 70} .4935399
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0333
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 77.0908

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5132         {txt}Pr(|T| > |t|) = {res}0.9736          {txt}Pr(T > t) = {res}0.4868
{txt}
{com}. *0.97
. ttest unemp  if demh_num<=5 & demh_num>=-5 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     44{col 22}      5.3{col 34} .2220889{col 46} 1.473171{col 58} 4.852115{col 70} 5.747885
       {txt}1 {c |}{res}{col 12}     37{col 22}  5.57027{col 34}  .269742{col 46} 1.640776{col 58} 5.023208{col 70} 6.117332
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     81{col 22} 5.423457{col 34} .1720005{col 46} 1.548005{col 58} 5.081165{col 70} 5.765749
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2702703{col 34} .3494055{col 58}-.9666036{col 70} .4260631
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7735
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 73.1922

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2209         {txt}Pr(|T| > |t|) = {res}0.4417          {txt}Pr(T > t) = {res}0.7791
{txt}
{com}. *0.43
. ttest midterm  if demh_num<=5 & demh_num>=-5  & election_les==1, by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     44{col 22} .3863636{col 34} .0742539{col 46} .4925448{col 58} .2366163{col 70}  .536111
       {txt}1 {c |}{res}{col 12}     37{col 22} .4864865{col 34} .0833029{col 46} .5067117{col 58} .3175404{col 70} .6554326
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     81{col 22} .4320988{col 34} .0553838{col 46} .4984544{col 58} .3218814{col 70} .5423161
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1001229{col 34} .1115931{col 58} -.322387{col 70} .1221413
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8972
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 75.8467

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1862         {txt}Pr(|T| > |t|) = {res}0.3724          {txt}Pr(T > t) = {res}0.8138
{txt}
{com}. * 0.37
. ttest stincpc_scaled  if demh_num<=5 & demh_num>=-5 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     44{col 22} 11.46575{col 34}  .451107{col 46} 2.992305{col 58} 10.55601{col 70}  12.3755
       {txt}1 {c |}{res}{col 12}     37{col 22} 11.98294{col 34} .4593906{col 46} 2.794364{col 58} 11.05126{col 70} 12.91463
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     81{col 22}   11.702{col 34} .3219104{col 46} 2.897194{col 58} 11.06138{col 70} 12.34262
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.5171929{col 34} .6438457{col 58}-1.798965{col 70}  .764579
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8033
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 78.1021

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2121         {txt}Pr(|T| > |t|) = {res}0.4242          {txt}Pr(T > t) = {res}0.7879
{txt}
{com}. *0.43
. 
. ** House - percentage
. ttest majs_dem  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     71{col 22} .2816901{col 34} .0537641{col 46} .4530247{col 58} .1744609{col 70} .3889193
       {txt}1 {c |}{res}{col 12}     65{col 22} .5076923{col 34} .0624926{col 46} .5038315{col 58}  .382849{col 70} .6325356
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    136{col 22} .3897059{col 34} .0419731{col 46} .4894864{col 58}  .306696{col 70} .4727158
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2260022{col 34} .0824373{col 58}-.3891049{col 70}-.0628995
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.7415
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 129.126

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0035         {txt}Pr(|T| > |t|) = {res}0.0070          {txt}Pr(T > t) = {res}0.9965
{txt}
{com}. * 0.01 **********************
. ttest majs_dem_Lag  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     67{col 22}  .358209{col 34} .0590192{col 46} .4830927{col 58} .2403734{col 70} .4760445
       {txt}1 {c |}{res}{col 12}     60{col 22} .5833333{col 34}  .064184{col 46} .4971671{col 58} .4549014{col 70} .7117652
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22} .4645669{col 34} .0444316{col 46} .5007181{col 58} .3766382{col 70} .5524957
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2251244{col 34} .0871943{col 58}-.3977258{col 70} -.052523
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.5819
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}   122.6

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0055         {txt}Pr(|T| > |t|) = {res}0.0110          {txt}Pr(T > t) = {res}0.9945
{txt}
{com}. * 0.01 *******************
. ttest demgov  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     72{col 22} .3888889{col 34} .0578554{col 46} .4909191{col 58} .2735286{col 70} .5042492
       {txt}1 {c |}{res}{col 12}     65{col 22}       .4{col 34} .0612372{col 46} .4937104{col 58} .2776645{col 70} .5223355
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    137{col 22} .3941606{col 34} .0419031{col 46} .4904629{col 58} .3112947{col 70} .4770265
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0111111{col 34} .0842451{col 58}-.1777399{col 70} .1555177
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1319
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 133.422

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4476         {txt}Pr(|T| > |t|) = {res}0.8953          {txt}Pr(T > t) = {res}0.5524
{txt}
{com}. *0.89
. ttest demgov_Lag  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} .3442623{col 34} .0613386{col 46} .4790701{col 58} .2215667{col 70} .4669579
       {txt}1 {c |}{res}{col 12}     59{col 22} .4576271{col 34}  .065417{col 46} .5024778{col 58} .3266807{col 70} .5885735
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    120{col 22}       .4{col 34} .0449089{col 46}  .491952{col 58} .3110759{col 70} .4889241
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1133648{col 34} .0896762{col 58}-.2909602{col 70} .0642306
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2642
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 117.226

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1043         {txt}Pr(|T| > |t|) = {res}0.2087          {txt}Pr(T > t) = {res}0.8957
{txt}
{com}. *0.20
. ttest majh_dem_Lag  if demh_pct<=0.55 & demh_pct>=0.45  , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     65{col 22} .4153846{col 34} .0615985{col 46} .4966232{col 58} .2923274{col 70} .5384418
       {txt}1 {c |}{res}{col 12}     59{col 22} .6949153{col 34} .0604592{col 46} .4643957{col 58} .5738931{col 70} .8159374
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    124{col 22} .5483871{col 34} .0448719{col 46} .4996721{col 58}  .459566{col 70} .6372082
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2795306{col 34} .0863116{col 58}-.4503946{col 70}-.1086666
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.2386
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 121.886

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0008         {txt}Pr(|T| > |t|) = {res}0.0015          {txt}Pr(T > t) = {res}0.9992
{txt}
{com}. *0.00  *******************
. ttest stproptax_inc  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} 4.001845{col 34} .1252416{col 46} 1.040335{col 58}  3.75193{col 70} 4.251761
       {txt}1 {c |}{res}{col 12}     58{col 22} 3.595014{col 34} .1610703{col 46} 1.226675{col 58} 3.272476{col 70} 3.917552
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22} 3.816048{col 34} .1014152{col 46} 1.142892{col 58} 3.615351{col 70} 4.016746
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .4068316{col 34} .2040321{col 58} .0025814{col 70} .8110818
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.9940
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 112.338

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9757         {txt}Pr(|T| > |t|) = {res}0.0486          {txt}Pr(T > t) = {res}0.0243
{txt}
{com}. *0.04 *********
. ttest sttottax_inc if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     72{col 22} 5.128946{col 34} .1329455{col 46}  1.12808{col 58}  4.86386{col 70} 5.394032
       {txt}1 {c |}{res}{col 12}     65{col 22} 5.195839{col 34} .1234328{col 46} .9951472{col 58} 4.949253{col 70} 5.442424
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    137{col 22} 5.160683{col 34} .0908801{col 46} 1.063724{col 58} 4.980962{col 70} 5.340404
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0668928{col 34} .1814116{col 58}-.4256707{col 70} .2918852
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3687
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 134.933

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3565         {txt}Pr(|T| > |t|) = {res}0.7129          {txt}Pr(T > t) = {res}0.6435
{txt}
{com}. *0.71
. ttest unemp  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     72{col 22}   5.1375{col 34} .1643672{col 46} 1.394702{col 58} 4.809761{col 70} 5.465239
       {txt}1 {c |}{res}{col 12}     65{col 22} 5.761538{col 34} .2018031{col 46} 1.626988{col 58}  5.35839{col 70} 6.164686
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    137{col 22} 5.433577{col 34} .1312214{col 46} 1.535907{col 58} 5.174078{col 70} 5.693075
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.6240385{col 34} .2602711{col 58}-1.139076{col 70}-.1090005
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.3976
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 126.785

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0090         {txt}Pr(|T| > |t|) = {res}0.0180          {txt}Pr(T > t) = {res}0.9910
{txt}
{com}. *0.01 ****************
. ttest midterm  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     72{col 22} .4166667{col 34} .0585091{col 46} .4964664{col 58} .3000028{col 70} .5333305
       {txt}1 {c |}{res}{col 12}     65{col 22} .4923077{col 34} .0624926{col 46} .5038315{col 58} .3674644{col 70}  .617151
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    137{col 22} .4525547{col 34} .0426812{col 46} .4995704{col 58} .3681501{col 70} .5369594
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.075641{col 34} .0856075{col 58}-.2449675{col 70} .0936855
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8836
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 133.153

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1893         {txt}Pr(|T| > |t|) = {res}0.3785          {txt}Pr(T > t) = {res}0.8107
{txt}
{com}. *0.37
. ttest stincpc_scaled  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     72{col 22} 11.52529{col 34} .3595311{col 46} 3.050722{col 58} 10.80841{col 70} 12.24218
       {txt}1 {c |}{res}{col 12}     65{col 22} 12.58635{col 34} .3505363{col 46} 2.826114{col 58} 11.88608{col 70} 13.28663
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    137{col 22} 12.02872{col 34} .2548808{col 46} 2.983303{col 58} 11.52467{col 70} 12.53276
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.061062{col 34} .5021338{col 58}-2.054135{col 70}-.0679899
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.1131
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 134.905

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0182         {txt}Pr(|T| > |t|) = {res}0.0364          {txt}Pr(T > t) = {res}0.9818
{txt}
{com}. *0.04 ******************        
.                 
.         
.         
. 
. ********** Senate *********
. 
. 
. ******************** 1 - 1 **********************************
. ******************** Senate - numbers ************************
. 
. ttest majh_dem  if dems_num<=1 & dems_num>=-1  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} .5185185{col 34} .0979908{col 46} .5091751{col 58} .3170956{col 70} .7199415
       {txt}1 {c |}{res}{col 12}     21{col 22} .5714286{col 34} .1106567{col 46} .5070926{col 58} .3406028{col 70} .8022543
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} .5416667{col 34} .0726788{col 46} .5035336{col 58} .3954557{col 70} .6878776
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0529101{col 34} .1478076{col 58}-.3509484{col 70} .2451283
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3580
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 43.2211

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3611         {txt}Pr(|T| > |t|) = {res}0.7221          {txt}Pr(T > t) = {res}0.6389
{txt}
{com}. * p-value: 0.72
. ttest majh_dem_Lag  if dems_num<=1 & dems_num>=-1  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     24{col 22} .5416667{col 34} .1038946{col 46} .5089774{col 58} .3267444{col 70}  .756589
       {txt}1 {c |}{res}{col 12}     21{col 22} .5714286{col 34} .1106567{col 46} .5070926{col 58} .3406028{col 70} .8022543
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     45{col 22} .5555556{col 34} .0749111{col 46} .5025189{col 58} .4045822{col 70} .7065289
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0297619{col 34}  .151786{col 58}-.3360243{col 70} .2765005
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1961
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.2519

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4227         {txt}Pr(|T| > |t|) = {res}0.8455          {txt}Pr(T > t) = {res}0.5773
{txt}
{com}. *0.84
. ttest demgov  if dems_num<=1 & dems_num>=-1  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} .4444444{col 34} .0974509{col 46} .5063697{col 58} .2441313{col 70} .6447576
       {txt}1 {c |}{res}{col 12}     23{col 22} .6956522{col 34} .0981002{col 46}  .470472{col 58} .4922048{col 70} .8990995
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22}      .56{col 34} .0709124{col 46} .5014265{col 58} .4174962{col 70} .7025038
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2512077{col 34} .1382763{col 58}-.5292893{col 70} .0268739
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.8167
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 47.6119

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0378         {txt}Pr(|T| > |t|) = {res}0.0756          {txt}Pr(T > t) = {res}0.9622
{txt}
{com}. *pvalue 0.07 ******************
. ttest demgov_Lag2  if dems_num<=1 & dems_num>=-1  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .56{col 34} .1013246{col 46} .5066228{col 58} .3508764{col 70} .7691236
       {txt}1 {c |}{res}{col 12}     22{col 22} .5909091{col 34} .1072903{col 46} .5032363{col 58} .3677866{col 70} .8140316
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22} .5744681{col 34} .0728988{col 46} .4997687{col 58} .4277305{col 70} .7212057
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0309091{col 34} .1475733{col 58}-.3282634{col 70} .2664452
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2094
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 44.3176

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4175         {txt}Pr(|T| > |t|) = {res}0.8351          {txt}Pr(T > t) = {res}0.5825
{txt}
{com}. *pvalue 0.83
. ttest majs_dem_Lag  if dems_num<=1 & dems_num>=-1  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .36{col 34} .0979796{col 46} .4898979{col 58} .1577801{col 70} .5622199
       {txt}1 {c |}{res}{col 12}     22{col 22} .5909091{col 34} .1072903{col 46} .5032363{col 58} .3677866{col 70} .8140316
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22} .4680851{col 34} .0735706{col 46} .5043749{col 58} .3199951{col 70} .6161751
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2309091{col 34}  .145297{col 58}-.5237529{col 70} .0619347
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.5892
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 43.9101

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0596         {txt}Pr(|T| > |t|) = {res}0.1192          {txt}Pr(T > t) = {res}0.9404
{txt}
{com}. *0.12 ******************
. ttest stproptax_inc  if dems_num<=1 & dems_num>=-1 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} 3.417278{col 34} .2462008{col 46} 1.279297{col 58} 2.911205{col 70} 3.923351
       {txt}1 {c |}{res}{col 12}     22{col 22} 3.561567{col 34} .3304425{col 46} 1.549913{col 58} 2.874374{col 70}  4.24876
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     49{col 22} 3.482061{col 34} .1991167{col 46} 1.393817{col 58}  3.08171{col 70} 3.882412
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1442889{col 34} .4120766{col 58}-.9767027{col 70} .6881249
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3502
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  40.665

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3640         {txt}Pr(|T| > |t|) = {res}0.7280          {txt}Pr(T > t) = {res}0.6360
{txt}
{com}. * 0.72
. ttest sttottax_inc  if dems_num<=1 & dems_num>=-1 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} 5.155932{col 34} .2613382{col 46} 1.357953{col 58} 4.618744{col 70}  5.69312
       {txt}1 {c |}{res}{col 12}     23{col 22}  5.16512{col 34} .1689716{col 46} .8103593{col 58} 4.814694{col 70} 5.515545
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22} 5.160158{col 34} .1595824{col 46} 1.128418{col 58} 4.839466{col 70} 5.480851
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0091878{col 34} .3112058{col 58} -.636655{col 70} .6182794
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0295
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 43.3324

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4883         {txt}Pr(|T| > |t|) = {res}0.9766          {txt}Pr(T > t) = {res}0.5117
{txt}
{com}. *0.97
. ttest unemp  if dems_num<=1 & dems_num>=-1 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} 5.551852{col 34} .3013914{col 46} 1.566075{col 58} 4.932333{col 70} 6.171371
       {txt}1 {c |}{res}{col 12}     23{col 22} 6.047826{col 34} .4553967{col 46} 2.184006{col 58} 5.103391{col 70} 6.992261
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22}     5.78{col 34} .2647756{col 46} 1.872246{col 58} 5.247913{col 70} 6.312086
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4959743{col 34} .5460979{col 58}-1.600436{col 70} .6084872
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9082
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 39.1394

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1847         {txt}Pr(|T| > |t|) = {res}0.3693          {txt}Pr(T > t) = {res}0.8153
{txt}
{com}. *0.36
. ttest midterm  if dems_num<=1 & dems_num>=-1  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} .4444444{col 34} .0974509{col 46} .5063697{col 58} .2441313{col 70} .6447576
       {txt}1 {c |}{res}{col 12}     23{col 22} .3913043{col 34}  .104051{col 46} .4990109{col 58} .1755159{col 70} .6070928
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22}      .42{col 34} .0705084{col 46} .4985694{col 58} .2783081{col 70} .5616919
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0531401{col 34} .1425597{col 58}-.2336606{col 70} .3399408
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3728
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 46.9535

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6445         {txt}Pr(|T| > |t|) = {res}0.7110          {txt}Pr(T > t) = {res}0.3555
{txt}
{com}. * 0.71
. ttest stincpc_scaled  if dems_num<=1 & dems_num>=-1 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     27{col 22} 12.54133{col 34} .6199954{col 46} 3.221591{col 58} 11.26691{col 70} 13.81574
       {txt}1 {c |}{res}{col 12}     23{col 22} 12.08209{col 34} .6268181{col 46} 3.006114{col 58} 10.78215{col 70} 13.38203
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22} 12.33008{col 34}  .438584{col 46} 3.101257{col 58} 11.44871{col 70} 13.21144
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .4592371{col 34} .8816435{col 58}-1.313836{col 70}  2.23231
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5209
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 47.5742

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6976         {txt}Pr(|T| > |t|) = {res}0.6049          {txt}Pr(T > t) = {res}0.3024
{txt}
{com}. *0.61
. 
. 
. 
. ** Senate - percentage
. ttest majh_dem  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22}       .5{col 34} .2236068{col 46} .5477226{col 58}-.0747996{col 70}   1.0748
       {txt}1 {c |}{res}{col 12}     14{col 22} .5714286{col 34} .1372527{col 46} .5135526{col 58} .2749121{col 70}  .867945
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22}      .55{col 34} .1141329{col 46} .5104178{col 58} .3111171{col 70} .7888829
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0714286{col 34} .2623705{col 58}-.6650852{col 70}  .522228
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2722
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 8.98677

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3958         {txt}Pr(|T| > |t|) = {res}0.7916          {txt}Pr(T > t) = {res}0.6042
{txt}
{com}. * p-value: 0.78
. ttest majh_dem_Lag  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22}       .5{col 34} .2236068{col 46} .5477226{col 58}-.0747996{col 70}   1.0748
       {txt}1 {c |}{res}{col 12}     12{col 22}      .75{col 34} .1305582{col 46}  .452267{col 58} .4626432{col 70} 1.037357
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     18{col 22} .6666667{col 34} .1143324{col 46} .4850713{col 58} .4254464{col 70} .9078869
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}     -.25{col 34} .2589314{col 58}-.8405985{col 70} .3405985
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9655
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 8.53909

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1804         {txt}Pr(|T| > |t|) = {res}0.3608          {txt}Pr(T > t) = {res}0.8196
{txt}
{com}. *0.32
. ttest demgov  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22} .3333333{col 34} .2108185{col 46} .5163978{col 58}-.2085929{col 70} .8752596
       {txt}1 {c |}{res}{col 12}     14{col 22} .7142857{col 34}  .125294{col 46} .4688072{col 58} .4436045{col 70}  .984967
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22}       .6{col 34} .1123903{col 46} .5026247{col 58} .3647644{col 70} .8352356
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3809524{col 34} .2452408{col 58}-.9382841{col 70} .1763793
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.5534
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 8.73676

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0779         {txt}Pr(|T| > |t|) = {res}0.1558          {txt}Pr(T > t) = {res}0.9221
{txt}
{com}. *pvalue 0.16 
. ttest demgov_Lag2  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22}       .5{col 34} .2236068{col 46} .5477226{col 58}-.0747996{col 70}   1.0748
       {txt}1 {c |}{res}{col 12}     13{col 22} .6153846{col 34} .1404417{col 46} .5063697{col 58} .3093885{col 70} .9213808
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     19{col 22} .5789474{col 34} .1163728{col 46} .5072573{col 58} .3344572{col 70} .8234375
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1153846{col 34} .2640528{col 58}-.7114116{col 70} .4806424
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4370
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 9.13081

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3361         {txt}Pr(|T| > |t|) = {res}0.6723          {txt}Pr(T > t) = {res}0.6639
{txt}
{com}. *pvalue 0.66
. ttest majs_dem_Lag  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22} .1666667{col 34} .1666667{col 46} .4082483{col 58}-.2617636{col 70}  .595097
       {txt}1 {c |}{res}{col 12}     13{col 22} .7692308{col 34} .1216261{col 46}  .438529{col 58} .5042303{col 70} 1.034231
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     19{col 22} .5789474{col 34} .1163728{col 46} .5072573{col 58} .3344572{col 70} .8234375
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.6025641{col 34} .2063266{col 58}-1.059325{col 70}-.1458034
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.9204
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 10.5024

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0073         {txt}Pr(|T| > |t|) = {res}0.0146          {txt}Pr(T > t) = {res}0.9927
{txt}
{com}. *0.01 *******************
. ttest stproptax_inc  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22} 3.690661{col 34} .5638139{col 46} 1.381056{col 58} 2.241331{col 70} 5.139991
       {txt}1 {c |}{res}{col 12}     13{col 22} 3.843625{col 34} .4382136{col 46} 1.580001{col 58}  2.88884{col 70} 4.798411
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     19{col 22} 3.795321{col 34} .3402334{col 46} 1.483043{col 58} 3.080517{col 70} 4.510125
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1529644{col 34} .7140849{col 58}-1.721784{col 70} 1.415855
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2142
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 11.1675

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4171         {txt}Pr(|T| > |t|) = {res}0.8342          {txt}Pr(T > t) = {res}0.5829
{txt}
{com}. * 0.84
. ttest sttottax_inc  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22}  5.52427{col 34} .5696412{col 46}  1.39533{col 58} 4.059961{col 70} 6.988579
       {txt}1 {c |}{res}{col 12}     14{col 22} 5.070114{col 34} .2167136{col 46}  .810868{col 58} 4.601933{col 70} 5.538295
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22} 5.206361{col 34} .2244795{col 46} 1.003903{col 58}  4.73652{col 70} 5.676202
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .4541557{col 34} .6094718{col 58}-1.009811{col 70} 1.918123
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.7452
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 6.49971

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7589         {txt}Pr(|T| > |t|) = {res}0.4822          {txt}Pr(T > t) = {res}0.2411
{txt}
{com}. *0.37
. ttest unemp  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22}     6.55{col 34}  .818026{col 46} 2.003746{col 58} 4.447197{col 70} 8.652803
       {txt}1 {c |}{res}{col 12}     14{col 22}     5.95{col 34} .4933347{col 46} 1.845889{col 58} 4.884215{col 70} 7.015785
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22}     6.13{col 34} .4163816{col 46} 1.862115{col 58} 5.258503{col 70} 7.001497
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .5999999{col 34} .9552726{col 58}-1.566638{col 70} 2.766638
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6281
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 8.84828

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7271         {txt}Pr(|T| > |t|) = {res}0.5458          {txt}Pr(T > t) = {res}0.2729
{txt}
{com}. *0.52
. ttest midterm  if dems_pct<=0.51  &  dems_pct>=0.49  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22}       .5{col 34} .2236068{col 46} .5477226{col 58}-.0747996{col 70}   1.0748
       {txt}1 {c |}{res}{col 12}     14{col 22}       .5{col 34}  .138675{col 46} .5188745{col 58} .2004108{col 70} .7995892
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22}       .5{col 34} .1147079{col 46} .5129892{col 58} .2599137{col 70} .7400863
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34} .2631174{col 58}-.5945157{col 70} .5945157
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0000
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 9.06977

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5000         {txt}Pr(|T| > |t|) = {res}1.0000          {txt}Pr(T > t) = {res}0.5000
{txt}
{com}. * 1.00
. ttest stincpc_scaled  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}      6{col 22} 10.44526{col 34} .5260551{col 46} 1.288567{col 58} 9.092995{col 70} 11.79753
       {txt}1 {c |}{res}{col 12}     14{col 22} 11.27649{col 34} .6096852{col 46} 2.281233{col 58} 9.959348{col 70} 12.59364
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     20{col 22} 11.02712{col 34} .4555399{col 46} 2.037236{col 58} 10.07367{col 70} 11.98058
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.8312306{col 34} .8052639{col 58}-2.536545{col 70} .8740834
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0322
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 16.2069

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1586         {txt}Pr(|T| > |t|) = {res}0.3171          {txt}Pr(T > t) = {res}0.8414
{txt}
{com}. *0.42
. 
. 
. 
. ******************** 2 - 2 **********************************
. ******************** Senate - numbers ************************
. 
. ttest majh_dem  if dems_num<=2 & dems_num>=-2  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22} .5283019{col 34} .0692264{col 46} .5039755{col 58}  .389389{col 70} .6672147
       {txt}1 {c |}{res}{col 12}     36{col 22} .6111111{col 34} .0824022{col 46} .4944132{col 58} .4438257{col 70} .7783965
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     89{col 22} .5617978{col 34} .0528915{col 46} .4989775{col 58}  .456687{col 70} .6669085
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0828092{col 34} .1076216{col 58}-.2971441{col 70} .1315256
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7694
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 76.2678

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2220         {txt}Pr(|T| > |t|) = {res}0.4440          {txt}Pr(T > t) = {res}0.7780
{txt}
{com}. * p-value: 0.44
. ttest majh_dem_Lag  if dems_num<=2 & dems_num>=-2  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     48{col 22}    .5625{col 34} .0723605{col 46}  .501328{col 58} .4169295{col 70} .7080705
       {txt}1 {c |}{res}{col 12}     36{col 22} .5833333{col 34} .0833333{col 46}       .5{col 58} .4141577{col 70}  .752509
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     84{col 22} .5714286{col 34} .0543192{col 46} .4978439{col 58} .4633898{col 70} .6794673
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0208333{col 34} .1103652{col 58}-.2406612{col 70} .1989945
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1888
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 75.6502

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4254         {txt}Pr(|T| > |t|) = {res}0.8508          {txt}Pr(T > t) = {res}0.5746
{txt}
{com}. *0.85
. ttest demgov  if dems_num<=2 & dems_num>=-2  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22}  .509434{col 34} .0693252{col 46} .5046949{col 58} .3703228{col 70} .6485451
       {txt}1 {c |}{res}{col 12}     38{col 22} .5526316{col 34} .0817428{col 46} .5038966{col 58} .3870049{col 70} .7182583
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     91{col 22} .5274725{col 34}  .052625{col 46} .5020106{col 58} .4229238{col 70} .6320213
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0431976{col 34} .1071815{col 58} -.256498{col 70} .1701028
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4030
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 79.9401

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3440         {txt}Pr(|T| > |t|) = {res}0.6880          {txt}Pr(T > t) = {res}0.6560
{txt}
{com}. *pvalue 0.69 
. ttest demgov_Lag2  if dems_num<=2 & dems_num>=-2  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     48{col 22} .5833333{col 34} .0719124{col 46} .4982238{col 58} .4386642{col 70} .7280024
       {txt}1 {c |}{res}{col 12}     37{col 22} .5675676{col 34} .0825689{col 46} .5022472{col 58}   .40011{col 70} .7350251
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     85{col 22} .5764706{col 34} .0539127{col 46} .4970501{col 58} .4692594{col 70} .6836818
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0157658{col 34} .1094944{col 58}-.2022532{col 70} .2337847
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1440
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 77.2728

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5571         {txt}Pr(|T| > |t|) = {res}0.8859          {txt}Pr(T > t) = {res}0.4429
{txt}
{com}. *pvalue 0.88
. ttest majs_dem_Lag  if dems_num<=2 & dems_num>=-2  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     49{col 22} .3877551{col 34} .0703268{col 46} .4922875{col 58} .2463536{col 70} .5291566
       {txt}1 {c |}{res}{col 12}     37{col 22} .7027027{col 34} .0761781{col 46} .4633732{col 58} .5482064{col 70}  .857199
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     86{col 22} .5232558{col 34} .0541739{col 46} .5023883{col 58} .4155435{col 70} .6309681
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3149476{col 34} .1036772{col 58}-.5212735{col 70}-.1086217
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.0378
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 79.9553

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0016         {txt}Pr(|T| > |t|) = {res}0.0032          {txt}Pr(T > t) = {res}0.9984
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_num<=2 & dems_num>=-2 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     50{col 22} 3.654376{col 34} .1867198{col 46} 1.320308{col 58} 3.279148{col 70} 4.029603
       {txt}1 {c |}{res}{col 12}     37{col 22} 3.826556{col 34} .2446347{col 46} 1.488055{col 58} 3.330414{col 70} 4.322699
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} 3.727602{col 34} .1488452{col 46} 1.388336{col 58} 3.431708{col 70} 4.023497
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1721805{col 34} .3077506{col 58}-.7856456{col 70} .4412847
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5595
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  72.168

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2888         {txt}Pr(|T| > |t|) = {res}0.5776          {txt}Pr(T > t) = {res}0.7112
{txt}
{com}. * 0.57
. ttest sttottax_inc  if dems_num<=2 & dems_num>=-2 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22}  5.27807{col 34} .1707818{col 46}  1.24331{col 58} 4.935371{col 70} 5.620769
       {txt}1 {c |}{res}{col 12}     38{col 22} 5.349798{col 34} .1439978{col 46} .8876619{col 58}  5.05803{col 70} 5.641565
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     91{col 22} 5.308022{col 34}  .115708{col 46} 1.103784{col 58} 5.078148{col 70} 5.537896
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0717274{col 34} .2233871{col 58}-.5155928{col 70} .3721379
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3211
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      89

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3744         {txt}Pr(|T| > |t|) = {res}0.7489          {txt}Pr(T > t) = {res}0.6256
{txt}
{com}. *0.76
. ttest unemp  if dems_num<=2 & dems_num>=-2 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22}      5.8{col 34} .3014358{col 46} 2.194486{col 58} 5.195125{col 70} 6.404875
       {txt}1 {c |}{res}{col 12}     38{col 22} 6.076316{col 34} .3256995{col 46} 2.007746{col 58} 5.416386{col 70} 6.736246
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     91{col 22} 5.915385{col 34} .2213452{col 46} 2.111499{col 58} 5.475644{col 70} 6.355126
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2763158{col 34} .4437834{col 58} -1.15886{col 70} .6062285
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6226
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 83.7895

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2676         {txt}Pr(|T| > |t|) = {res}0.5352          {txt}Pr(T > t) = {res}0.7324
{txt}
{com}. *0.54
. ttest midterm  if dems_num<=2 & dems_num>=-2  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22} .4528302{col 34} .0690283{col 46} .5025335{col 58} .3143148{col 70} .5913456
       {txt}1 {c |}{res}{col 12}     38{col 22}       .5{col 34} .0821995{col 46} .5067117{col 58}  .333448{col 70}  .666552
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     91{col 22} .4725275{col 34}  .052625{col 46} .5020106{col 58} .3679787{col 70} .5770762
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0471698{col 34}  .107339{col 58}-.2608033{col 70} .1664636
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4394
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 79.4661

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3308         {txt}Pr(|T| > |t|) = {res}0.6615          {txt}Pr(T > t) = {res}0.6692
{txt}
{com}. * 0.66
. ttest stincpc_scaled  if dems_num<=2 & dems_num>=-2 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     53{col 22} 11.93146{col 34} .4266834{col 46} 3.106302{col 58} 11.07525{col 70} 12.78766
       {txt}1 {c |}{res}{col 12}     38{col 22} 12.16289{col 34}  .516532{col 46} 3.184117{col 58}  11.1163{col 70} 13.20949
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     91{col 22}  12.0281{col 34} .3274327{col 46} 3.123509{col 58}  11.3776{col 70}  12.6786
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2314378{col 34} .6699731{col 58}-1.565075{col 70}   1.1022
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3454
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 78.6618

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3653         {txt}Pr(|T| > |t|) = {res}0.7307          {txt}Pr(T > t) = {res}0.6347
{txt}
{com}. *0.72
. 
. 
. ** Senate - percentage
.         
. ttest majh_dem  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .5238095{col 34} .1116766{col 46} .5117663{col 58} .2908563{col 70} .7567628
       {txt}1 {c |}{res}{col 12}     25{col 22}      .64{col 34} .0979796{col 46} .4898979{col 58} .4377801{col 70} .8422199
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     46{col 22} .5869565{col 34} .0733998{col 46} .4978213{col 58} .4391218{col 70} .7347912
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1161905{col 34} .1485653{col 58}-.4160213{col 70} .1836404
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7821
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 41.9345

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2193         {txt}Pr(|T| > |t|) = {res}0.4386          {txt}Pr(T > t) = {res}0.7807
{txt}
{com}. * p-value: 0.44
. ttest majh_dem_Lag  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     19{col 22} .5789474{col 34} .1163728{col 46} .5072573{col 58} .3344572{col 70} .8234375
       {txt}1 {c |}{res}{col 12}     25{col 22}       .6{col 34}       .1{col 46}       .5{col 58} .3936101{col 70} .8063899
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     44{col 22} .5909091{col 34} .0749784{col 46} .4973503{col 58} .4397008{col 70} .7421174
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0210526{col 34} .1534361{col 58} -.331507{col 70} .2894017
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1372
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 38.6087

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4458         {txt}Pr(|T| > |t|) = {res}0.8916          {txt}Pr(T > t) = {res}0.5542
{txt}
{com}. *0.89
. ttest demgov  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .3809524{col 34} .1085881{col 46} .4976134{col 58} .1544415{col 70} .6074633
       {txt}1 {c |}{res}{col 12}     27{col 22} .6666667{col 34}   .09245{col 46} .4803845{col 58} .4766329{col 70} .8567004
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} .5416667{col 34} .0726788{col 46} .5035336{col 58} .3954557{col 70} .6878776
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2857143{col 34} .1426127{col 58}-.5734429{col 70} .0020143
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.0034
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.3757

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0258         {txt}Pr(|T| > |t|) = {res}0.0516          {txt}Pr(T > t) = {res}0.9742
{txt}
{com}. *pvalue 0.05 ******************
. ttest demgov_Lag2  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .5238095{col 34} .1116766{col 46} .5117663{col 58} .2908563{col 70} .7567628
       {txt}1 {c |}{res}{col 12}     26{col 22} .5384615{col 34} .0997037{col 46} .5083911{col 58} .3331179{col 70} .7438052
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22} .5319149{col 34} .0735706{col 46} .5043749{col 58} .3838249{col 70} .6800049
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.014652{col 34}  .149708{col 58}-.3166029{col 70} .2872989
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0979
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.8238

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4612         {txt}Pr(|T| > |t|) = {res}0.9225          {txt}Pr(T > t) = {res}0.5388
{txt}
{com}. *pvalue 0.92
. ttest majs_dem_Lag  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .3333333{col 34} .1054093{col 46} .4830459{col 58} .1134535{col 70} .5532132
       {txt}1 {c |}{res}{col 12}     26{col 22} .6153846{col 34} .0973009{col 46} .4961389{col 58} .4149898{col 70} .8157795
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22} .4893617{col 34} .0737043{col 46} .5052912{col 58} .3410027{col 70} .6377207
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2820513{col 34} .1434523{col 58}-.5712739{col 70} .0071713
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.9662
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 43.3973

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0278         {txt}Pr(|T| > |t|) = {res}0.0557          {txt}Pr(T > t) = {res}0.9722
{txt}
{com}. *0.05 ******************
. ttest stproptax_inc  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} 3.305583{col 34} .2590898{col 46} 1.187299{col 58} 2.765131{col 70} 3.846035
       {txt}1 {c |}{res}{col 12}     26{col 22} 3.736206{col 34} .2947681{col 46} 1.503029{col 58}  3.12912{col 70} 4.343292
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22}   3.5438{col 34} .2003987{col 46} 1.373864{col 58} 3.140418{col 70} 3.947182
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4306227{col 34} .3924485{col 58}-1.221061{col 70} .3598156
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0973
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 44.9865

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1392         {txt}Pr(|T| > |t|) = {res}0.2784          {txt}Pr(T > t) = {res}0.8608
{txt}
{com}. * 0.29
. ttest sttottax_inc  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} 5.397287{col 34} .2562493{col 46} 1.174282{col 58} 4.862761{col 70} 5.931814
       {txt}1 {c |}{res}{col 12}     27{col 22} 5.272124{col 34} .1658467{col 46} .8617648{col 58} 4.931221{col 70} 5.613027
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} 5.326883{col 34} .1444487{col 46}  1.00077{col 58}  5.03629{col 70} 5.617476
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .125163{col 34} .3052357{col 58}-.4942012{col 70} .7445273
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4101
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 35.4762

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6579         {txt}Pr(|T| > |t|) = {res}0.6842          {txt}Pr(T > t) = {res}0.3421
{txt}
{com}. *0.67
. ttest unemp  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} 5.566667{col 34} .3541141{col 46} 1.622755{col 58} 4.827998{col 70} 6.305336
       {txt}1 {c |}{res}{col 12}     27{col 22}  6.02963{col 34} .4466659{col 46} 2.320944{col 58} 5.111495{col 70} 6.947764
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} 5.827083{col 34} .2941923{col 46} 2.038224{col 58} 5.235245{col 70} 6.418922
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.462963{col 34} .5700063{col 58}-1.610627{col 70} .6847008
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8122
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 45.5579

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2104         {txt}Pr(|T| > |t|) = {res}0.4209          {txt}Pr(T > t) = {res}0.7896
{txt}
{com}. *0.44
. ttest midterm  if dems_pct<=0.52  &  dems_pct>=0.48  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} .4285714{col 34} .1106567{col 46} .5070926{col 58} .1977457{col 70} .6593972
       {txt}1 {c |}{res}{col 12}     27{col 22} .3703704{col 34} .0947052{col 46} .4921029{col 58}  .175701{col 70} .5650398
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} .3958333{col 34} .0713322{col 46}  .494204{col 58} .2523315{col 70} .5393352
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0582011{col 34} .1456502{col 58}-.2356321{col 70} .3520342
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3996
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.4924

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6543         {txt}Pr(|T| > |t|) = {res}0.6915          {txt}Pr(T > t) = {res}0.3457
{txt}
{com}. * 0.69
. ttest stincpc_scaled  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     21{col 22} 13.03177{col 34} .6475326{col 46} 2.967367{col 58} 11.68104{col 70}  14.3825
       {txt}1 {c |}{res}{col 12}     27{col 22} 11.84978{col 34} .5439447{col 46}  2.82642{col 58} 10.73168{col 70} 12.96787
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22}  12.3669{col 34}  .421241{col 46} 2.918443{col 58} 11.51947{col 70} 13.21433
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.181995{col 34} .8456798{col 58}-.5245711{col 70} 2.888562
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3977
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.0704

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9152         {txt}Pr(|T| > |t|) = {res}0.1695          {txt}Pr(T > t) = {res}0.0848
{txt}
{com}. *0.17
. 
. ******************** 3 - 3 **********************************
. ******************** Senate - numbers ************************
. 
. ttest majh_dem  if dems_num<=3 & dems_num>=-3  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} .5072464{col 34} .0606275{col 46} .5036102{col 58}  .386266{col 70} .6282267
       {txt}1 {c |}{res}{col 12}     57{col 22} .6842105{col 34} .0621155{col 46} .4689614{col 58} .5597783{col 70} .8086427
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    126{col 22} .5873016{col 34} .0440344{col 46} .4942848{col 58} .5001521{col 70} .6744511
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1769641{col 34} .0867988{col 58}-.3487883{col 70}  -.00514
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.0388
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 122.194

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0218         {txt}Pr(|T| > |t|) = {res}0.0436          {txt}Pr(T > t) = {res}0.9782
{txt}
{com}. * p-value: 0.04 ****************
. ttest majh_dem_Lag  if dems_num<=3 & dems_num>=-3  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22}  .515625{col 34} .0629633{col 46} .5037065{col 58} .3898029{col 70} .6414471
       {txt}1 {c |}{res}{col 12}     53{col 22} .6415094{col 34} .0665026{col 46} .4841463{col 58} .5080622{col 70} .7749567
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    117{col 22} .5726496{col 34} .0459312{col 46} .4968216{col 58} .4816771{col 70} .6636221
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1258844{col 34} .0915804{col 58}-.3073316{col 70} .0555628
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.3746
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 112.437

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0860         {txt}Pr(|T| > |t|) = {res}0.1720          {txt}Pr(T > t) = {res}0.9140
{txt}
{com}. *0.17
. ttest demgov  if dems_num<=3 & dems_num>=-3  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} .5652174{col 34} .0601159{col 46} .4993602{col 58}  .445258{col 70} .6851768
       {txt}1 {c |}{res}{col 12}     59{col 22} .4915254{col 34} .0656438{col 46} .5042195{col 58} .3601251{col 70} .6229257
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    128{col 22}   .53125{col 34} .0442811{col 46} .5009833{col 58} .4436257{col 70} .6188743
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .073692{col 34} .0890114{col 58} -.102507{col 70} .2498909
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8279
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 122.556

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7953         {txt}Pr(|T| > |t|) = {res}0.4093          {txt}Pr(T > t) = {res}0.2047
{txt}
{com}. *pvalue 0.41 
. ttest demgov_Lag2  if dems_num<=3 & dems_num>=-3  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     64{col 22}  .546875{col 34} .0627166{col 46} .5017331{col 58} .4215458{col 70} .6722042
       {txt}1 {c |}{res}{col 12}     54{col 22}  .462963{col 34} .0684916{col 46} .5033084{col 58} .3255862{col 70} .6003397
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    118{col 22} .5084746{col 34} .0462184{col 46} .5020601{col 58} .4169415{col 70} .6000076
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .083912{col 34} .0928681{col 58} -.100084{col 70} .2679081
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9036
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 112.564

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8159         {txt}Pr(|T| > |t|) = {res}0.3682          {txt}Pr(T > t) = {res}0.1841
{txt}
{com}. *pvalue 0.37
. ttest majs_dem_Lag  if dems_num<=3 & dems_num>=-3  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     65{col 22} .3692308{col 34} .0603246{col 46} .4863522{col 58} .2487186{col 70} .4897429
       {txt}1 {c |}{res}{col 12}     55{col 22} .7454545{col 34} .0592784{col 46} .4396203{col 58} .6266085{col 70} .8643006
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    120{col 22} .5416667{col 34} .0456755{col 46}   .50035{col 58} .4512246{col 70} .6321087
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3762238{col 34} .0845753{col 58}-.5437138{col 70}-.2087338
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.4484
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 117.465

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_num<=3 & dems_num>=-3 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     66{col 22} 3.629482{col 34} .1493681{col 46} 1.213472{col 58} 3.331173{col 70}  3.92779
       {txt}1 {c |}{res}{col 12}     54{col 22} 3.746209{col 34} .2006557{col 46} 1.474512{col 58} 3.343744{col 70} 4.148673
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    120{col 22} 3.682009{col 34}  .121657{col 46} 1.332686{col 58} 3.441116{col 70} 3.922902
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1167273{col 34} .2501471{col 58}-.6128708{col 70} .3794161
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4666
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 102.379

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3209         {txt}Pr(|T| > |t|) = {res}0.6418          {txt}Pr(T > t) = {res}0.6791
{txt}
{com}. * 0.63
. ttest sttottax_inc  if dems_num<=3 & dems_num>=-3 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22}  5.34476{col 34} .1436509{col 46} 1.193254{col 58} 5.058109{col 70} 5.631411
       {txt}1 {c |}{res}{col 12}     59{col 22} 5.286473{col 34} .1230182{col 46} .9449207{col 58} 5.040225{col 70} 5.532721
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    128{col 22} 5.317894{col 34} .0956474{col 46} 1.082127{col 58} 5.128625{col 70} 5.507163
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0582872{col 34} .1891271{col 58}-.3160099{col 70} .4325844
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3082
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 125.301

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6208         {txt}Pr(|T| > |t|) = {res}0.7584          {txt}Pr(T > t) = {res}0.3792
{txt}
{com}. *0.76
. ttest unemp  if dems_num<=3 & dems_num>=-3 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} 5.778261{col 34} .2506162{col 46} 2.081775{col 58} 5.278164{col 70} 6.278358
       {txt}1 {c |}{res}{col 12}     59{col 22} 6.049153{col 34} .2761552{col 46} 2.121188{col 58} 5.496368{col 70} 6.601937
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    128{col 22} 5.903125{col 34}  .185272{col 46} 2.096113{col 58} 5.536505{col 70} 6.269745
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2708917{col 34} .3729211{col 58}-1.009115{col 70} .4673316
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7264
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 122.187

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2345         {txt}Pr(|T| > |t|) = {res}0.4690          {txt}Pr(T > t) = {res}0.7655
{txt}
{com}. *0.47
. ttest midterm  if dems_num<=3 & dems_num>=-3  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} .4782609{col 34} .0605766{col 46} .5031868{col 58} .3573822{col 70} .5991395
       {txt}1 {c |}{res}{col 12}     59{col 22} .4745763{col 34} .0655683{col 46} .5036396{col 58} .3433271{col 70} .6058255
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    128{col 22} .4765625{col 34} .0443191{col 46} .5014129{col 58} .3888631{col 70} .5642619
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0036846{col 34} .0892677{col 58}-.1730168{col 70}  .180386
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0413
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 122.898

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5164         {txt}Pr(|T| > |t|) = {res}0.9671          {txt}Pr(T > t) = {res}0.4836
{txt}
{com}. * 0.96
. ttest stincpc_scaled  if dems_num<=3 & dems_num>=-3 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} 12.05989{col 34} .3612252{col 46} 3.000562{col 58} 11.33908{col 70}  12.7807
       {txt}1 {c |}{res}{col 12}     59{col 22} 12.06826{col 34} .4013269{col 46}  3.08265{col 58} 11.26492{col 70}  12.8716
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    128{col 22} 12.06375{col 34} .2675197{col 46}  3.02664{col 58} 11.53438{col 70} 12.59312
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0083689{col 34} .5399509{col 58} -1.07727{col 70} 1.060532
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0155
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 121.838

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4938         {txt}Pr(|T| > |t|) = {res}0.9877          {txt}Pr(T > t) = {res}0.5062
{txt}
{com}. *0.98
. 
. 
. ** Senate - percentage
. 
. ttest majh_dem  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} .5869565{col 34} .0733998{col 46} .4978213{col 58} .4391218{col 70} .7347912
       {txt}1 {c |}{res}{col 12}     39{col 22} .7179487{col 34} .0729993{col 46} .4558808{col 58} .5701693{col 70} .8657282
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     85{col 22} .6470588{col 34} .0521415{col 46} .4807207{col 58} .5433698{col 70} .7507479
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1309922{col 34} .1035202{col 58}-.3369087{col 70} .0749244
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2654
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 82.4833

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1046         {txt}Pr(|T| > |t|) = {res}0.2093          {txt}Pr(T > t) = {res}0.8954
{txt}
{com}. * p-value: 0.21
. ttest majh_dem_Lag  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     41{col 22} .5853659{col 34} .0778962{col 46}  .498779{col 58} .4279318{col 70} .7427999
       {txt}1 {c |}{res}{col 12}     39{col 22} .6923077{col 34} .0748714{col 46} .4675719{col 58} .5407384{col 70}  .843877
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     80{col 22}    .6375{col 34} .0540855{col 46} .4837551{col 58} .5298456{col 70} .7451544
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1069418{col 34} .1080442{col 58} -.322042{col 70} .1081583
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9898
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 77.9848

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1627         {txt}Pr(|T| > |t|) = {res}0.3253          {txt}Pr(T > t) = {res}0.8373
{txt}
{com}. *0.33
. ttest demgov  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} .4565217{col 34} .0742533{col 46} .5036102{col 58}  .306968{col 70} .6060755
       {txt}1 {c |}{res}{col 12}     41{col 22} .5365854{col 34}  .078845{col 46} .5048545{col 58} .3772336{col 70} .6959371
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} .4942529{col 34} .0539128{col 46} .5028654{col 58} .3870777{col 70}  .601428
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0800636{col 34} .1083055{col 58} -.295448{col 70} .1353208
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7392
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 83.8139

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2309         {txt}Pr(|T| > |t|) = {res}0.4618          {txt}Pr(T > t) = {res}0.7691
{txt}
{com}. *pvalue 0.46
. ttest demgov_Lag2  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     41{col 22} .5609756{col 34} .0784669{col 46} .5024331{col 58} .4023882{col 70} .7195631
       {txt}1 {c |}{res}{col 12}     40{col 22}       .5{col 34} .0800641{col 46} .5063697{col 58} .3380551{col 70} .6619449
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     81{col 22} .5308642{col 34} .0557951{col 46} .5021558{col 58} .4198284{col 70}    .6419
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0609756{col 34}  .112104{col 58}-.1621655{col 70} .2841168
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5439
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 78.9151

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7060         {txt}Pr(|T| > |t|) = {res}0.5880          {txt}Pr(T > t) = {res}0.2940
{txt}
{com}. *pvalue 0.59
. ttest majs_dem_Lag  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     43{col 22} .3488372{col 34} .0735413{col 46} .4822428{col 58} .2004248{col 70} .4972496
       {txt}1 {c |}{res}{col 12}     40{col 22}       .7{col 34} .0733799{col 46} .4640955{col 58} .5515751{col 70} .8484249
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} .5180723{col 34} .0551797{col 46} .5027108{col 58} .4083023{col 70} .6278423
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3511628{col 34} .1038891{col 58}-.5578733{col 70}-.1444523
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.3802
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 80.9017

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0006         {txt}Pr(|T| > |t|) = {res}0.0011          {txt}Pr(T > t) = {res}0.9994
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     44{col 22} 3.607213{col 34} .1916203{col 46} 1.271065{col 58} 3.220774{col 70} 3.993652
       {txt}1 {c |}{res}{col 12}     40{col 22} 3.793094{col 34} .2298745{col 46} 1.453854{col 58} 3.328129{col 70} 4.258059
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     84{col 22} 3.695728{col 34} .1479585{col 46} 1.356062{col 58} 3.401444{col 70} 3.990011
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1858809{col 34} .2992668{col 58} -.781686{col 70} .4099242
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6211
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 77.9112

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2682         {txt}Pr(|T| > |t|) = {res}0.5363          {txt}Pr(T > t) = {res}0.7318
{txt}
{com}. * 0.53
. ttest sttottax_inc  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} 5.264975{col 34} .1905515{col 46} 1.292383{col 58} 4.881185{col 70} 5.648765
       {txt}1 {c |}{res}{col 12}     41{col 22} 5.349059{col 34} .1377925{col 46} .8823023{col 58}  5.07057{col 70} 5.627547
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} 5.304601{col 34} .1192807{col 46} 1.112576{col 58} 5.067478{col 70} 5.541723
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0840836{col 34} .2351523{col 58}-.5520684{col 70} .3839012
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3576
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 79.8144

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3608         {txt}Pr(|T| > |t|) = {res}0.7216          {txt}Pr(T > t) = {res}0.6392
{txt}
{com}. *0.72
. ttest unemp  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} 5.858696{col 34} .3373608{col 46} 2.288092{col 58} 5.179216{col 70} 6.538175
       {txt}1 {c |}{res}{col 12}     41{col 22} 6.221951{col 34} .3187344{col 46} 2.040896{col 58} 5.577765{col 70} 6.866137
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} 6.029885{col 34} .2326763{col 46}  2.17026{col 58}  5.56734{col 70}  6.49243
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3632556{col 34} .4641163{col 58}-1.286043{col 70}  .559532
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7827
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 84.9996

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2180         {txt}Pr(|T| > |t|) = {res}0.4360          {txt}Pr(T > t) = {res}0.7820
{txt}
{com}. *0.44
. ttest midterm  if dems_pct<=0.53  &  dems_pct>=0.47  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} .4565217{col 34} .0742533{col 46} .5036102{col 58}  .306968{col 70} .6060755
       {txt}1 {c |}{res}{col 12}     41{col 22} .4878049{col 34} .0790334{col 46} .5060608{col 58} .3280724{col 70} .6475374
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} .4712644{col 34} .0538273{col 46} .5020674{col 58} .3642593{col 70} .5782694
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0312831{col 34} .1084427{col 58}-.2469422{col 70} .1843759
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2885
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 83.7666

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3868         {txt}Pr(|T| > |t|) = {res}0.7737          {txt}Pr(T > t) = {res}0.6132
{txt}
{com}. * 0.77
. ttest stincpc_scaled  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} 12.04286{col 34}  .452361{col 46} 3.068061{col 58} 11.13176{col 70} 12.95396
       {txt}1 {c |}{res}{col 12}     41{col 22} 12.52464{col 34} .5009333{col 46} 3.207538{col 58} 11.51221{col 70} 13.53706
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22}  12.2699{col 34}  .335096{col 46} 3.125567{col 58} 11.60375{col 70} 12.93605
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4817758{col 34} .6749552{col 58}-1.824268{col 70} .8607168
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7138
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 82.8591

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2387         {txt}Pr(|T| > |t|) = {res}0.4774          {txt}Pr(T > t) = {res}0.7613
{txt}
{com}. *0.48
. 
. 
. ******************** 4 - 4 **********************************
. ******************** Senate - numbers ************************
. 
. ttest majh_dem  if dems_num<=4 & dems_num>=-4  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     90{col 22}       .5{col 34} .0529999{col 46} .5028011{col 58} .3946903{col 70} .6053097
       {txt}1 {c |}{res}{col 12}     75{col 22}      .68{col 34} .0542268{col 46} .4696174{col 58} .5719508{col 70} .7880492
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    165{col 22} .5818182{col 34} .0385172{col 46} .4947619{col 58} .5057647{col 70} .6578717
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}     -.18{col 34} .0758257{col 58}-.3297421{col 70}-.0302579
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.3739
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 160.858

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0094         {txt}Pr(|T| > |t|) = {res}0.0188          {txt}Pr(T > t) = {res}0.9906
{txt}
{com}. * p-value: 0.02 ****************
. ttest majh_dem_Lag  if dems_num<=4 & dems_num>=-4  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22} .4880952{col 34} .0548666{col 46} .5028604{col 58} .3789678{col 70} .5972226
       {txt}1 {c |}{res}{col 12}     71{col 22} .6760563{col 34} .0559342{col 46} .4713097{col 58} .5644992{col 70} .7876135
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    155{col 22} .5741935{col 34} .0398451{col 46} .4960675{col 58}   .49548{col 70} .6529071
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1879611{col 34} .0783516{col 58}-.3427652{col 70} -.033157
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.3989
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 151.344

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0088         {txt}Pr(|T| > |t|) = {res}0.0177          {txt}Pr(T > t) = {res}0.9912
{txt}
{com}. *0.02 *************************
. ttest demgov  if dems_num<=4 & dems_num>=-4  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     90{col 22} .5555556{col 34} .0526717{col 46} .4996878{col 58}  .450898{col 70} .6602131
       {txt}1 {c |}{res}{col 12}     77{col 22} .5324675{col 34} .0572329{col 46} .5022165{col 58} .4184784{col 70} .6464567
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    167{col 22} .5449102{col 34} .0386507{col 46} .4994767{col 58} .4685999{col 70} .6212204
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .023088{col 34} .0777812{col 58}-.1305165{col 70} .1766926
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2968
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 160.773

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6165         {txt}Pr(|T| > |t|) = {res}0.7670          {txt}Pr(T > t) = {res}0.3835
{txt}
{com}. *pvalue 0.77
. ttest demgov_Lag2  if dems_num<=4 & dems_num>=-4  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     83{col 22} .5301205{col 34} .0551155{col 46}  .502126{col 58} .4204782{col 70} .6397627
       {txt}1 {c |}{res}{col 12}     72{col 22} .4305556{col 34}  .058764{col 46} .4986288{col 58} .3133835{col 70} .5477276
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    155{col 22}  .483871{col 34} .0402702{col 46} .5013597{col 58} .4043177{col 70} .5634242
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0995649{col 34} .0805662{col 58}-.0596245{col 70} .2587544
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2358
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 150.211

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8908         {txt}Pr(|T| > |t|) = {res}0.2185          {txt}Pr(T > t) = {res}0.1092
{txt}
{com}. *pvalue 0.22
. ttest majs_dem_Lag  if dems_num<=4 & dems_num>=-4  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22} .3333333{col 34} .0517434{col 46} .4742358{col 58} .2304179{col 70} .4362488
       {txt}1 {c |}{res}{col 12}     72{col 22} .7777778{col 34} .0493392{col 46} .4186572{col 58} .6793982{col 70} .8761574
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    156{col 22} .5384615{col 34}  .040042{col 46} .5001241{col 58} .4593631{col 70} .6175599
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4444444{col 34} .0714964{col 58}-.5856858{col 70}-.3032031
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -6.2163
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 153.857

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_num<=4 & dems_num>=-4 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     86{col 22} 3.580358{col 34} .1218437{col 46} 1.129932{col 58}   3.3381{col 70} 3.822616
       {txt}1 {c |}{res}{col 12}     71{col 22} 3.668113{col 34}  .176574{col 46} 1.487839{col 58} 3.315947{col 70} 4.020279
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    157{col 22} 3.620044{col 34} .1037787{col 46} 1.300344{col 58} 3.415051{col 70} 3.825036
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0877551{col 34} .2145327{col 58}-.5122278{col 70} .3367177
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4091
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 128.534

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3416         {txt}Pr(|T| > |t|) = {res}0.6832          {txt}Pr(T > t) = {res}0.6584
{txt}
{com}. * 0.67
. ttest sttottax_inc  if dems_num<=4 & dems_num>=-4 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     90{col 22} 5.329666{col 34} .1191952{col 46} 1.130785{col 58} 5.092828{col 70} 5.566505
       {txt}1 {c |}{res}{col 12}     77{col 22} 5.403653{col 34} .1051621{col 46} .9227935{col 58} 5.194204{col 70} 5.613101
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    167{col 22}  5.36378{col 34} .0802984{col 46} 1.037684{col 58} 5.205242{col 70} 5.522318
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0739862{col 34} .1589545{col 58}-.3878382{col 70} .2398658
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4655
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 164.652

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3211         {txt}Pr(|T| > |t|) = {res}0.6422          {txt}Pr(T > t) = {res}0.6789
{txt}
{com}. *0.64
. ttest unemp  if dems_num<=4 & dems_num>=-4 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     90{col 22} 5.682222{col 34} .2187387{col 46} 2.075138{col 58} 5.247593{col 70} 6.116851
       {txt}1 {c |}{res}{col 12}     77{col 22} 6.025974{col 34} .2284484{col 46} 2.004626{col 58}  5.57098{col 70} 6.480968
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    167{col 22} 5.840719{col 34} .1581724{col 46} 2.044038{col 58}  5.52843{col 70} 6.153007
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3437518{col 34} .3162836{col 58}-.9683059{col 70} .2808022
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0868
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 162.558

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1394         {txt}Pr(|T| > |t|) = {res}0.2787          {txt}Pr(T > t) = {res}0.8606
{txt}
{com}. *0.28
. ttest midterm  if dems_num<=4 & dems_num>=-4  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     90{col 22} .4666667{col 34}  .052882{col 46} .5016826{col 58} .3615913{col 70}  .571742
       {txt}1 {c |}{res}{col 12}     77{col 22} .4415584{col 34} .0569608{col 46} .4998291{col 58} .3281112{col 70} .5550057
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    167{col 22} .4550898{col 34} .0386507{col 46} .4994767{col 58} .3787796{col 70} .5314001
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0251082{col 34} .0777241{col 58}-.1283805{col 70}  .178597
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3230
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 161.205

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6265         {txt}Pr(|T| > |t|) = {res}0.7471          {txt}Pr(T > t) = {res}0.3735
{txt}
{com}. * 0.74
. ttest stincpc_scaled  if dems_num<=4 & dems_num>=-4 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     90{col 22} 12.01594{col 34} .3086526{col 46} 2.928136{col 58} 11.40265{col 70} 12.62922
       {txt}1 {c |}{res}{col 12}     77{col 22} 12.45612{col 34} .3667658{col 46} 3.218356{col 58} 11.72564{col 70}  13.1866
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    167{col 22}  12.2189{col 34} .2370914{col 46} 3.063897{col 58} 11.75079{col 70}   12.687
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4401821{col 34} .4793574{col 58}-1.387086{col 70} .5067216
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9183
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 155.266

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1799         {txt}Pr(|T| > |t|) = {res}0.3599          {txt}Pr(T > t) = {res}0.8201
{txt}
{com}. *0.36
. 
. 
. ** Senate - percentage
.         
. ttest majh_dem  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22} .5666667{col 34} .0645132{col 46} .4997174{col 58}  .437576{col 70} .6957574
       {txt}1 {c |}{res}{col 12}     44{col 22} .6590909{col 34} .0722866{col 46}  .479495{col 58} .5133111{col 70} .8048707
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    104{col 22} .6057692{col 34} .0481515{col 46} .4910514{col 58}  .510272{col 70} .7012665
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0924242{col 34} .0968881{col 58}-.2847741{col 70} .0999256
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9539
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 94.8998

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1713         {txt}Pr(|T| > |t|) = {res}0.3425          {txt}Pr(T > t) = {res}0.8287
{txt}
{com}. * p-value: 0.34
. ttest majh_dem_Lag  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     54{col 22}  .537037{col 34} .0684916{col 46} .5033084{col 58} .3996603{col 70} .6744138
       {txt}1 {c |}{res}{col 12}     44{col 22} .6136364{col 34} .0742539{col 46} .4925448{col 58}  .463889{col 70} .7633837
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     98{col 22} .5714286{col 34} .0502466{col 46}  .497416{col 58}  .471703{col 70} .6711542
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0765993{col 34} .1010185{col 58}-.2772079{col 70} .1240093
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7583
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 92.7971

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2251         {txt}Pr(|T| > |t|) = {res}0.4502          {txt}Pr(T > t) = {res}0.7749
{txt}
{com}. *0.45
. ttest demgov  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22} .4833333{col 34} .0650583{col 46} .5039393{col 58}  .353152{col 70} .6135147
       {txt}1 {c |}{res}{col 12}     46{col 22} .5217391{col 34} .0744651{col 46}  .505047{col 58} .3717587{col 70} .6717196
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    106{col 22}       .5{col 34}  .048795{col 46} .5023753{col 58} .4032485{col 70} .5967515
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0384058{col 34} .0988819{col 58}-.2346624{col 70} .1578508
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3884
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 96.8692

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3493         {txt}Pr(|T| > |t|) = {res}0.6986          {txt}Pr(T > t) = {res}0.6507
{txt}
{com}. *pvalue 0.69
. ttest demgov_Lag2  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     54{col 22} .5740741{col 34} .0679224{col 46} .4991257{col 58}  .437839{col 70} .7103092
       {txt}1 {c |}{res}{col 12}     45{col 22} .4888889{col 34} .0753592{col 46}  .505525{col 58} .3370124{col 70} .6407654
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     99{col 22} .5353535{col 34} .0503812{col 46} .5012867{col 58} .4353737{col 70} .6353334
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0851852{col 34} .1014518{col 58}-.1162674{col 70} .2866378
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8397
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 93.3704

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7984         {txt}Pr(|T| > |t|) = {res}0.4032          {txt}Pr(T > t) = {res}0.2016
{txt}
{com}. *pvalue 0.40
. ttest majs_dem_Lag  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22} .3636364{col 34}  .065462{col 46} .4854794{col 58} .2323929{col 70} .4948798
       {txt}1 {c |}{res}{col 12}     45{col 22} .7111111{col 34} .0683294{col 46} .4583678{col 58} .5734022{col 70}   .84882
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    100{col 22}      .52{col 34} .0502117{col 46} .5021167{col 58} .4203691{col 70} .6196309
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3474747{col 34} .0946266{col 58}-.5353079{col 70}-.1596416
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.6721
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 95.9644

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0002         {txt}Pr(|T| > |t|) = {res}0.0004          {txt}Pr(T > t) = {res}0.9998
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     57{col 22} 3.521679{col 34} .1575367{col 46} 1.189376{col 58} 3.206095{col 70} 3.837263
       {txt}1 {c |}{res}{col 12}     45{col 22} 3.829145{col 34}  .214326{col 46} 1.437742{col 58}   3.3972{col 70} 4.261091
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    102{col 22} 3.657326{col 34}  .129418{col 46} 1.307057{col 58} 3.400596{col 70} 3.914056
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3074659{col 34} .2659952{col 58}-.8363434{col 70} .2214117
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1559
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  84.913

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1255         {txt}Pr(|T| > |t|) = {res}0.2510          {txt}Pr(T > t) = {res}0.8745
{txt}
{com}. * 0.24
. ttest sttottax_inc  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22}   5.2595{col 34} .1567377{col 46} 1.214085{col 58} 4.945869{col 70} 5.573132
       {txt}1 {c |}{res}{col 12}     46{col 22} 5.329043{col 34} .1303144{col 46} .8838356{col 58} 5.066576{col 70} 5.591509
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    106{col 22} 5.289679{col 34} .1048014{col 46} 1.078997{col 58} 5.081877{col 70} 5.497481
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0695422{col 34} .2038347{col 58}-.4737652{col 70} .3346807
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3412
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 103.757

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3668         {txt}Pr(|T| > |t|) = {res}0.7337          {txt}Pr(T > t) = {res}0.6332
{txt}
{com}. *0.74
. ttest unemp  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22} 5.888333{col 34} .2903154{col 46} 2.248773{col 58} 5.307414{col 70} 6.469253
       {txt}1 {c |}{res}{col 12}     46{col 22} 6.408696{col 34} .3240866{col 46} 2.198062{col 58} 5.755952{col 70}  7.06144
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    106{col 22} 6.114151{col 34} .2167366{col 46} 2.231439{col 58} 5.684402{col 70}   6.5439
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.5203624{col 34} .4351036{col 58}-1.383806{col 70} .3430817
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1960
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 98.0445

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1173         {txt}Pr(|T| > |t|) = {res}0.2346          {txt}Pr(T > t) = {res}0.8827
{txt}
{com}. *0.23
. ttest midterm  if dems_pct<=0.54  &  dems_pct>=0.46  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22} .4833333{col 34} .0650583{col 46} .5039393{col 58}  .353152{col 70} .6135147
       {txt}1 {c |}{res}{col 12}     46{col 22} .4782609{col 34} .0744651{col 46}  .505047{col 58} .3282804{col 70} .6282413
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    106{col 22} .4811321{col 34} .0487602{col 46} .5020175{col 58} .3844495{col 70} .5778146
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0050725{col 34} .0988819{col 58}-.1911841{col 70}  .201329
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0513
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 96.8692

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5204         {txt}Pr(|T| > |t|) = {res}0.9592          {txt}Pr(T > t) = {res}0.4796
{txt}
{com}. * 0.96
. ttest stincpc_scaled  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22} 12.07225{col 34} .3878491{col 46} 3.004266{col 58} 11.29616{col 70} 12.84833
       {txt}1 {c |}{res}{col 12}     46{col 22} 12.30728{col 34} .4607881{col 46} 3.125217{col 58} 11.37921{col 70} 13.23536
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    106{col 22} 12.17424{col 34} .2957415{col 46} 3.044845{col 58} 11.58784{col 70} 12.76065
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2350372{col 34} .6022894{col 58}-1.430735{col 70} .9606608
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3902
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  94.986

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3486         {txt}Pr(|T| > |t|) = {res}0.6972          {txt}Pr(T > t) = {res}0.6514
{txt}
{com}. *0.69
. 
. 
. ******************** 5 - 5 **********************************
. ******************** Senate - numbers ************************
. 
. ttest majh_dem  if dems_num<=5 & dems_num>=-5  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} .4814815{col 34} .0483037{col 46} .5019864{col 58} .3857251{col 70} .5772379
       {txt}1 {c |}{res}{col 12}    101{col 22} .6336634{col 34} .0481803{col 46}  .484206{col 58}  .538075{col 70} .7292517
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    209{col 22} .5550239{col 34} .0344582{col 46} .4981563{col 58} .4870918{col 70}  .622956
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1521819{col 34} .0682245{col 58}-.2866866{col 70}-.0176771
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.2306
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 206.798

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0134         {txt}Pr(|T| > |t|) = {res}0.0268          {txt}Pr(T > t) = {res}0.9866
{txt}
{com}. * p-value: 0.03 ****************
. ttest majh_dem_Lag  if dems_num<=5 & dems_num>=-5  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    102{col 22} .4901961{col 34} .0497423{col 46} .5023726{col 58} .3915207{col 70} .5888714
       {txt}1 {c |}{res}{col 12}     96{col 22} .6354167{col 34} .0493817{col 46} .4838397{col 58} .5373816{col 70} .7334517
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    198{col 22} .5606061{col 34} .0353609{col 46} .4975714{col 58} .4908717{col 70} .6303405
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1452206{col 34} .0700917{col 58}-.2834518{col 70}-.0069894
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.0719
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 195.893

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0198         {txt}Pr(|T| > |t|) = {res}0.0396          {txt}Pr(T > t) = {res}0.9802
{txt}
{com}. *0.04 *************************
. ttest demgov  if dems_num<=5 & dems_num>=-5  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} .5185185{col 34} .0483037{col 46} .5019864{col 58} .4227621{col 70} .6142749
       {txt}1 {c |}{res}{col 12}    103{col 22} .5339806{col 34} .0493929{col 46} .5012833{col 58}   .43601{col 70} .6319512
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    211{col 22} .5260664{col 34} .0344564{col 46} .5005075{col 58} .4581417{col 70}  .593991
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0154621{col 34} .0690862{col 58}-.1516589{col 70} .1207348
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2238
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 208.554

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4116         {txt}Pr(|T| > |t|) = {res}0.8231          {txt}Pr(T > t) = {res}0.5884
{txt}
{com}. *pvalue 0.82
. ttest demgov_Lag2  if dems_num<=5 & dems_num>=-5  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    100{col 22}       .5{col 34} .0502519{col 46} .5025189{col 58} .4002893{col 70} .5997107
       {txt}1 {c |}{res}{col 12}     97{col 22} .4329897{col 34} .0505707{col 46} .4980633{col 58} .3326077{col 70} .5333717
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    197{col 22} .4670051{col 34} .0356364{col 46} .5001813{col 58}  .396725{col 70} .5372852
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0670103{col 34} .0712927{col 58}-.0735938{col 70} .2076144
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9399
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 194.908

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8258         {txt}Pr(|T| > |t|) = {res}0.3484          {txt}Pr(T > t) = {res}0.1742
{txt}
{com}. *pvalue 0.35
. ttest majs_dem_Lag  if dems_num<=5 & dems_num>=-5  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    102{col 22} .3137255{col 34} .0461703{col 46} .4662977{col 58} .2221359{col 70}  .405315
       {txt}1 {c |}{res}{col 12}     97{col 22} .7938144{col 34} .0412908{col 46} .4066669{col 58} .7118529{col 70}  .875776
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    199{col 22} .5477387{col 34} .0353711{col 46} .4989711{col 58} .4779862{col 70} .6174912
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4800889{col 34} .0619405{col 58}-.6022461{col 70}-.3579318
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -7.7508
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 195.558

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_num<=5 & dems_num>=-5 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    104{col 22} 3.633265{col 34} .1086409{col 46} 1.107924{col 58} 3.417802{col 70} 3.848729
       {txt}1 {c |}{res}{col 12}     96{col 22}  3.46514{col 34} .1559981{col 46} 1.528463{col 58} 3.155445{col 70} 3.774836
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    200{col 22} 3.552565{col 34}  .093747{col 46} 1.325782{col 58}   3.3677{col 70}  3.73743
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1681252{col 34} .1901006{col 58}-.2071031{col 70} .5433534
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8844
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 172.149

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8111         {txt}Pr(|T| > |t|) = {res}0.3777          {txt}Pr(T > t) = {res}0.1889
{txt}
{com}. * 0.37
. ttest sttottax_inc  if dems_num<=5 & dems_num>=-5 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} 5.320695{col 34} .1065978{col 46} 1.107796{col 58} 5.109378{col 70} 5.532013
       {txt}1 {c |}{res}{col 12}    103{col 22} 5.498777{col 34} .0987253{col 46} 1.001952{col 58} 5.302956{col 70} 5.694598
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    211{col 22} 5.407626{col 34} .0728847{col 46} 1.058711{col 58} 5.263947{col 70} 5.551305
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1780814{col 34}  .145292{col 58}-.4645117{col 70} .1083489
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2257
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 208.422

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1109         {txt}Pr(|T| > |t|) = {res}0.2217          {txt}Pr(T > t) = {res}0.8891
{txt}
{com}. *0.22 
. ttest unemp  if dems_num<=5 & dems_num>=-5 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} 5.542593{col 34} .1906666{col 46} 1.981466{col 58} 5.164618{col 70} 5.920567
       {txt}1 {c |}{res}{col 12}    103{col 22} 5.930097{col 34} .1935857{col 46}  1.96468{col 58} 5.546121{col 70} 6.314073
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    211{col 22} 5.731754{col 34} .1361807{col 46} 1.978139{col 58} 5.463297{col 70}  6.00021
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3875045{col 34} .2717152{col 58}-.9231631{col 70} .1481541
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4261
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 208.681

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0777         {txt}Pr(|T| > |t|) = {res}0.1553          {txt}Pr(T > t) = {res}0.9223
{txt}
{com}. *0.15
. ttest midterm  if dems_num<=5 & dems_num>=-5  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} .4814815{col 34} .0483037{col 46} .5019864{col 58} .3857251{col 70} .5772379
       {txt}1 {c |}{res}{col 12}    103{col 22} .4660194{col 34} .0493929{col 46} .5012833{col 58} .3680488{col 70}   .56399
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    211{col 22} .4739336{col 34} .0344564{col 46} .5005075{col 58}  .406009{col 70} .5418583
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0154621{col 34} .0690862{col 58}-.1207348{col 70} .1516589
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2238
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 208.554

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5884         {txt}Pr(|T| > |t|) = {res}0.8231          {txt}Pr(T > t) = {res}0.4116
{txt}
{com}. * 0.82
. ttest stincpc_scaled  if dems_num<=5 & dems_num>=-5 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} 11.96267{col 34} .2884598{col 46} 2.997762{col 58} 11.39083{col 70} 12.53451
       {txt}1 {c |}{res}{col 12}    103{col 22} 12.53792{col 34} .3047135{col 46} 3.092505{col 58} 11.93353{col 70} 13.14232
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    211{col 22} 12.24348{col 34} .2100228{col 46} 3.050757{col 58} 11.82946{col 70}  12.6575
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.5752537{col 34} .4195943{col 58}-1.402463{col 70} .2519557
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.3710
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 207.713

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0859         {txt}Pr(|T| > |t|) = {res}0.1719          {txt}Pr(T > t) = {res}0.9141
{txt}
{com}. *0.17
. 
. 
. ** Senate - percentage
.         
. ttest majh_dem  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22}      .55{col 34} .0559724{col 46} .5006325{col 58} .4385897{col 70} .6614103
       {txt}1 {c |}{res}{col 12}     65{col 22} .6307692{col 34} .0603246{col 46} .4863522{col 58} .5102571{col 70} .7512814
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    145{col 22} .5862069{col 34} .0410427{col 46} .4942195{col 58} .5050829{col 70} .6673309
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0807692{col 34} .0822919{col 58}-.2434804{col 70} .0819419
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9815
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 138.482

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1640         {txt}Pr(|T| > |t|) = {res}0.3281          {txt}Pr(T > t) = {res}0.8360
{txt}
{com}. * p-value: 0.33
. ttest majh_dem_Lag  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     74{col 22}  .527027{col 34}  .058435{col 46}  .502677{col 58} .4105662{col 70} .6434878
       {txt}1 {c |}{res}{col 12}     62{col 22} .6451613{col 34} .0612611{col 46} .4823703{col 58} .5226622{col 70} .7676604
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    136{col 22} .5808824{col 34} .0424664{col 46} .4952388{col 58} .4968969{col 70} .6648678
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1181343{col 34} .0846615{col 58}-.2856088{col 70} .0493402
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.3954
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 131.521

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0826         {txt}Pr(|T| > |t|) = {res}0.1653          {txt}Pr(T > t) = {res}0.9174
{txt}
{com}. *0.17
. ttest demgov  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22}     .525{col 34}  .056184{col 46} .5025253{col 58} .4131685{col 70} .6368315
       {txt}1 {c |}{res}{col 12}     67{col 22} .5074627{col 34} .0615389{col 46} .5037175{col 58} .3845963{col 70}  .630329
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    147{col 22} .5170068{col 34} .0413564{col 46} .5014191{col 58} .4352724{col 70} .5987412
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0175373{col 34} .0833287{col 58}-.1472041{col 70} .1822787
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2105
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 140.392

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5832         {txt}Pr(|T| > |t|) = {res}0.8336          {txt}Pr(T > t) = {res}0.4168
{txt}
{com}. *pvalue 0.83
. ttest demgov_Lag2  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     74{col 22}       .5{col 34} .0585206{col 46}  .503413{col 58} .3833687{col 70} .6166313
       {txt}1 {c |}{res}{col 12}     64{col 22}  .453125{col 34} .0627166{col 46} .5017331{col 58} .3277958{col 70} .5784542
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    138{col 22} .4782609{col 34} .0426775{col 46}  .501347{col 58} .3938691{col 70} .5626527
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .046875{col 34}  .085779{col 58}-.1227893{col 70} .2165393
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5465
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 133.273

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7072         {txt}Pr(|T| > |t|) = {res}0.5857          {txt}Pr(T > t) = {res}0.2928
{txt}
{com}. *pvalue 0.58
. ttest majs_dem_Lag  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     75{col 22}      .36{col 34} .0557989{col 46} .4832324{col 58} .2488183{col 70} .4711817
       {txt}1 {c |}{res}{col 12}     64{col 22}  .765625{col 34} .0533695{col 46} .4269563{col 58} .6589745{col 70} .8722755
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    139{col 22} .5467626{col 34} .0423763{col 46} .4996089{col 58} .4629718{col 70} .6305533
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.405625{col 34} .0772128{col 58}-.5583098{col 70}-.2529402
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -5.2533
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 136.823

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. *0.00 ******************
. ttest stproptax_inc  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     76{col 22} 3.596037{col 34} .1348671{col 46} 1.175744{col 58} 3.327368{col 70} 3.864706
       {txt}1 {c |}{res}{col 12}     63{col 22} 3.871737{col 34} .1874033{col 46} 1.487468{col 58} 3.497123{col 70} 4.246351
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    139{col 22} 3.720994{col 34} .1126627{col 46} 1.328274{col 58} 3.498226{col 70} 3.943763
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2757002{col 34} .2308877{col 58}-.7329642{col 70} .1815638
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1941
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 116.925

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1174         {txt}Pr(|T| > |t|) = {res}0.2349          {txt}Pr(T > t) = {res}0.8826
{txt}
{com}. * 0.22
. ttest sttottax_inc  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22} 5.284594{col 34} .1298367{col 46} 1.161295{col 58}  5.02616{col 70} 5.543027
       {txt}1 {c |}{res}{col 12}     67{col 22} 5.371403{col 34} .1223945{col 46} 1.001842{col 58} 5.127034{col 70} 5.615771
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    147{col 22}  5.32416{col 34} .0897968{col 46} 1.088728{col 58}  5.14669{col 70} 5.501629
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0868089{col 34} .1784321{col 58}-.4394755{col 70} .2658577
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4865
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 144.862

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3137         {txt}Pr(|T| > |t|) = {res}0.6273          {txt}Pr(T > t) = {res}0.6863
{txt}
{com}. *0.63 
. ttest unemp  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22}  5.79125{col 34} .2365977{col 46} 2.116194{col 58} 5.320314{col 70} 6.262186
       {txt}1 {c |}{res}{col 12}     67{col 22} 6.026866{col 34} .2513877{col 46} 2.057697{col 58} 5.524954{col 70} 6.528777
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    147{col 22} 5.898639{col 34} .1720444{col 46} 2.085928{col 58}  5.55862{col 70} 6.238659
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2356157{col 34} .3452162{col 58}-.9180522{col 70} .4468208
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6825
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 141.775

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2480         {txt}Pr(|T| > |t|) = {res}0.4960          {txt}Pr(T > t) = {res}0.7520
{txt}
{com}. *0.49
. ttest midterm  if dems_pct<=0.55  &  dems_pct>=0.45  & election_les==1, by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22}     .475{col 34}  .056184{col 46} .5025253{col 58} .3631685{col 70} .5868315
       {txt}1 {c |}{res}{col 12}     67{col 22} .4179104{col 34} .0607106{col 46} .4969377{col 58} .2966978{col 70} .5391231
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    147{col 22} .4489796{col 34} .0411643{col 46} .4990906{col 58} .3676247{col 70} .5303345
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0570896{col 34} .0827189{col 58}-.1064398{col 70} .2206189
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6902
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 141.035

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7544         {txt}Pr(|T| > |t|) = {res}0.4912          {txt}Pr(T > t) = {res}0.2456
{txt}
{com}. * 0.49
. ttest stincpc_scaled  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22} 12.10768{col 34} .3297951{col 46} 2.949777{col 58} 11.45124{col 70} 12.76412
       {txt}1 {c |}{res}{col 12}     67{col 22} 12.16565{col 34} .3634984{col 46} 2.975362{col 58} 11.43991{col 70}  12.8914
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    147{col 22}  12.1341{col 34} .2434301{col 46} 2.951433{col 58}   11.653{col 70}  12.6152
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0579751{col 34} .4908114{col 58}-1.028331{col 70} .9123806
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1181
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  140.08

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4531         {txt}Pr(|T| > |t|) = {res}0.9061          {txt}Pr(T > t) = {res}0.5469
{txt}
{com}. *0.90
. 
. 
. 
. **************************** Histogrgam - mass points *********************
. ***************************************************************************
. 
.  hist demh_num if demh_num>=-5 & demh_num<=5 & majh_dem~=., bin(200) freq
{txt}(bin={res}200{txt}, start={res}-5{txt}, width={res}.05{txt})
{res}{txt}
{com}. 
.  hist demh_pct if demh_pct>=0.45 & demh_pct<=.55 & demh_pct~=0.5 , bin(200) freq
{txt}(bin={res}200{txt}, start={res}.45255473{txt}, width={res}.00047056{txt})
{res}{txt}
{com}. 
. 
. 
.  hist dems_num if dems_num>=-5 & dems_num<=5 & majh_dem~=. , bin(200) freq
{txt}(bin={res}200{txt}, start={res}-5{txt}, width={res}.05{txt})
{res}{txt}
{com}. 
.  hist dems_pct if dems_pct>=0.45 & dems_pct<=.55 & majs_dem~=. , bin(200) freq
{txt}(bin={res}200{txt}, start={res}.45161289{txt}, width={res}.00048387{txt})
{res}{txt}
{com}. 
. 
. 
. 
. 
. 
. 
. 
. 
. **************************** TABLE 3 *************************************  
. ***************RDD CCT Method for continuous variables *******************
. /*
> CCT method
> rdrobust sttottax_inc demh_pct , c(0.5)
> */
. 
. gen demh_num2=demh_num if majh_dem~=. & demh_num~=.
{txt}(47 missing values generated)

{com}. gen demh_pct2=demh_pct if majh_dem~=. & demh_pct~=.
{txt}(47 missing values generated)

{com}. gen dems_num2=dems_num if majs_dem~=. & dems_num~=. 
{txt}(44 missing values generated)

{com}. gen dems_pct2=dems_pct if majs_dem~=. & dems_pct~=.
{txt}(44 missing values generated)

{com}. /* redefinition necessary when maj when seats are 50% exact (mute for House - as ties are exclude)
>    Many ties in Senate, but lieutenant governor breaks most  ties, so we reclassify
>    ties to have 1 seat majority if the lieuteant has defined the majority.
>    Note that this has no impact in the comparison of means, only for estimatinon of function and graphically*/ 
. replace dems_num2=1 if dems_num==0 & majs_dem==1
{txt}(8 real changes made)

{com}. replace dems_num2=-1 if dems_num==0 & majs_dem==0
{txt}(5 real changes made)

{com}. replace dems_pct2=0.501 if dems_pct==0.5 & majs_dem==1
{txt}(11 real changes made)

{com}. replace dems_pct2=0.499 if dems_pct==0.5 & majs_dem==0
{txt}(5 real changes made)

{com}. 
. replace demh_num2=1 if demh_num==0 & majh_dem==1
{txt}(0 real changes made)

{com}. replace demh_num2=-1 if demh_num==0 & majh_dem==0
{txt}(0 real changes made)

{com}. replace demh_pct2=0.501 if demh_pct==0.5 & majh_dem==1
{txt}(1 real change made)

{com}. replace demh_pct2=0.499 if demh_pct==0.5 & majh_dem==0
{txt}(0 real changes made)

{com}. 
. 
. 
. 
. ************************** House CCT *****
. 
. *** House balance numbers ***
. rdrobust majs_dem demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       860
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      307{col 34}      553{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      198{col 34}      197{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   24.678{col 34}   24.678
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   42.545{col 34}   42.545
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.580{col 34}    0.580

Outcome: majs_dem. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .10918{col 33} .11347{col 43}0.9622{col 52}0.336{col 60}-.113215{col 73} .331582
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.5397{col 52}0.589{col 60}-.192636{col 73} .339023
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.1 p 0.59 
. rdrobust majs_dem_Lag demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       820
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      293{col 34}      527{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      169{col 34}      153{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   20.646{col 34}   20.646
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   37.296{col 34}   37.296
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.554{col 34}    0.554

Outcome: majs_dem_Lag. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.01826{col 33} .13524{col 43}-0.1350{col 52}0.893{col 60}-.283328{col 73} .246805
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.4152{col 52}0.678{col 60}-.385535{col 73} .250758
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.04 p 0.57
. rdrobust majh_dem_Lag demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       817
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      291{col 34}      526{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      108{col 34}       87{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   13.453{col 34}   13.453
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   25.061{col 34}   25.061
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.537{col 34}    0.537

Outcome: majh_dem_Lag. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.07658{col 33} .19328{col 43}-0.3962{col 52}0.692{col 60}  -.4554{col 73} .302242
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.6547{col 52}0.513{col 60} -.59701{col 73} .298032
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.07 p 0.38
. rdrobust demgov demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      164{col 34}      148{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   18.537{col 34}   18.537
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   30.042{col 34}   30.042
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.617{col 34}    0.617

Outcome: demgov. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.07605{col 33} .13279{col 43}-0.5728{col 52}0.567{col 60}-.336311{col 73} .184202
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.4655{col 52}0.642{col 60} -.40564{col 73} .249943
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.05 p 0.80
. rdrobust demgov_Lag demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       785
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      279{col 34}      506{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      155{col 34}      141{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   19.354{col 34}   19.354
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   32.401{col 34}   32.401
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.597{col 34}    0.597

Outcome: demgov_Lag. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .11285{col 33} .14304{col 43}0.7889{col 52}0.430{col 60}-.167515{col 73}  .39321
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.7631{col 52}0.445{col 60}-.213505{col 73} .485749
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.08 p 0.49
. rdrobust midterm demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      158{col 34}      137{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   17.954{col 34}   17.954
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   31.720{col 34}   31.720
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.566{col 34}    0.566

Outcome: midterm. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .10384{col 33} .13004{col 43}0.7985{col 52}0.425{col 60}-.151033{col 73} .358723
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.9744{col 52}0.330{col 60}-.154891{col 73}  .46116
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.11 p 0.31
. rdrobust stincpc_scaled demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      124{col 34}      112{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   14.439{col 34}   14.439
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   26.343{col 34}   26.343
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.548{col 34}    0.548

Outcome: stincpc_scaled. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .42368{col 33} .94559{col 43}0.4481{col 52}0.654{col 60}-1.42965{col 73}   2.277
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.0435{col 52}0.965{col 60}-2.15676{col 73} 2.25475
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.43  p 0.98
. rdrobust stproptax_inc demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       818
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      296{col 34}      522{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      125{col 34}      104{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   15.931{col 34}   15.931
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   26.314{col 34}   26.314
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.605{col 34}    0.605

Outcome: stproptax_inc. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} -.0215{col 33} .39036{col 43}-0.0551{col 52}0.956{col 60}-.786598{col 73} .743591
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.0628{col 52}0.950{col 60}-.993079{col 73} .931372
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.07 p 0.77
. rdrobust sttottax_inc demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      124{col 34}      112{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   14.105{col 34}   14.105
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   24.199{col 34}   24.199
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.583{col 34}    0.583

Outcome: sttottax_inc. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.24352{col 33} .37049{col 43}-0.6573{col 52}0.511{col 60}-.969665{col 73} .482635
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.7070{col 52}0.480{col 60}-1.21248{col 73} .569646
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.33 p 0.25
. rdrobust unemp demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      131{col 34}      114{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   15.004{col 34}   15.004
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   27.776{col 34}   27.776
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.540{col 34}    0.540

Outcome: unemp. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.01943{col 33} .51979{col 43}-0.0374{col 52}0.970{col 60} -1.0382{col 73} .999345
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.3787{col 52}0.705{col 60}-1.43495{col 73} .970177
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.10 p 82
. rdrobust year demh_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      173{col 34}      154{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   19.312{col 34}   19.312
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   32.525{col 34}   32.525
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.594{col 34}    0.594

Outcome: year. Running variable: demh_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} 2.7489{col 33} 3.5609{col 43}0.7720{col 52}0.440{col 60}-4.23037{col 73} 9.72812
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.4022{col 52}0.688{col 60}-6.80531{col 73} 10.3192
{txt}{hline 19}{c BT}{hline 60}

{com}. * 2.7  p 0.73
. 
. 
. *** House balance percentage ***
. rdrobust majs_dem demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       860
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      307{col 34}      553{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      169{col 34}      207{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.122{col 34}    0.122
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.227{col 34}    0.227
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.540{col 34}    0.540

Outcome: majs_dem. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .06601{col 33} .11075{col 43}0.5960{col 52}0.551{col 60}-.151053{col 73} .283066
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.1851{col 52}0.853{col 60}-.228429{col 73} .276087
{txt}{hline 19}{c BT}{hline 60}

{com}. * 0.06 p 0.93
. rdrobust majs_dem_Lag demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       820
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      293{col 34}      527{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      112{col 34}      116{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.084{col 34}    0.084
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.154{col 34}    0.154
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.543{col 34}    0.543

Outcome: majs_dem_Lag. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.03474{col 33}  .1447{col 43}-0.2401{col 52}0.810{col 60}-.318342{col 73} .248868
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.4939{col 52}0.621{col 60} -.41524{col 73} .248082
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.02 p 0.67
. rdrobust majh_dem_Lag demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       817
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      291{col 34}      526{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      126{col 34}      135{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.095{col 34}    0.095
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.166{col 34}    0.166
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.572{col 34}    0.572

Outcome: majh_dem_Lag. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.00489{col 33} .14779{col 43}-0.0331{col 52}0.974{col 60}-.294557{col 73} .284776
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.3083{col 52}0.758{col 60}-.399942{col 73}  .29121
{txt}{hline 19}{c BT}{hline 60}

{com}. * 0.01 p 0.75
. rdrobust demgov demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      152{col 34}      175{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.102{col 34}    0.102
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.165{col 34}    0.165
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.623{col 34}    0.623

Outcome: demgov. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.01992{col 33} .12663{col 43}-0.1573{col 52}0.875{col 60}-.268118{col 73} .228277
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.0982{col 52}0.922{col 60}-.320602{col 73} .290013
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.01 p 0.96
. rdrobust demgov_Lag demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       785
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      279{col 34}      506{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      125{col 34}      144{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.097{col 34}    0.097
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.158{col 34}    0.158
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.616{col 34}    0.616

Outcome: demgov_Lag. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .08967{col 33} .14972{col 43}0.5989{col 52}0.549{col 60}-.203774{col 73} .383123
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.4298{col 52}0.667{col 60}-.283304{col 73} .442443
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.1 p 0.51
. rdrobust midterm demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      155{col 34}      178{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.106{col 34}    0.106
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.181{col 34}    0.181
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.584{col 34}    0.584

Outcome: midterm. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .08787{col 33}  .1217{col 43}0.7220{col 52}0.470{col 60}-.150662{col 73} .326402
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.8105{col 52}0.418{col 60}-.168406{col 73} .405894
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.07 p 0.45 
. rdrobust stincpc_scaled demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      163{col 34}      197{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.115{col 34}    0.115
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.189{col 34}    0.189
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.609{col 34}    0.609

Outcome: stincpc_scaled. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .86155{col 33} .68968{col 43}1.2492{col 52}0.212{col 60}-.490193{col 73}  2.2133
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.9076{col 52}0.364{col 60}-.876726{col 73} 2.38903
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.84 p 0.37
. rdrobust stproptax_inc demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       818
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      296{col 34}      522{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      167{col 34}      199{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.125{col 34}    0.125
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.227{col 34}    0.227
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.552{col 34}    0.552

Outcome: stproptax_inc. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.21268{col 33} .26807{col 43}-0.7934{col 52}0.428{col 60}-.738092{col 73} .312733
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.9159{col 52}0.360{col 60}-.912226{col 73} .331182
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.33 p 0.26
. rdrobust sttottax_inc demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      137{col 34}      144{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.095{col 34}    0.095
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.162{col 34}    0.162
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.585{col 34}    0.585

Outcome: sttottax_inc. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.18297{col 33} .30138{col 43}-0.6071{col 52}0.544{col 60}-.773666{col 73}  .40773
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.6907{col 52}0.490{col 60}-.964226{col 73} .461717
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.16 p 0.43
. rdrobust unemp demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      101{col 34}       99{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.069{col 34}    0.069
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.131{col 34}    0.131
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.527{col 34}    0.527

Outcome: unemp. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.05527{col 33} .59508{col 43}-0.0929{col 52}0.926{col 60} -1.2216{col 73} 1.11105
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.3897{col 52}0.697{col 60}-1.60527{col 73} 1.07283
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.03 p 0.71
. rdrobust year demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      136{col 34}      139{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.092{col 34}    0.092
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.149{col 34}    0.149
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.613{col 34}    0.613

Outcome: year. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} 5.2692{col 33} 3.8716{col 43}1.3610{col 52}0.174{col 60}-2.31892{col 73} 12.8573
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}1.2991{col 52}0.194{col 60}-3.10775{col 73}  15.325
{txt}{hline 19}{c BT}{hline 60}

{com}. *4.5  p 0.25
. 
. 
. ************************** Senate CCT *****
. 
. *** Senate balance numbers ***
. rdrobust majs_dem_Lag dems_num2 , c(0) 
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       823
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      319{col 34}      504{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      185{col 34}      155{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    8.345{col 34}    8.345
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   16.024{col 34}   16.024
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.521{col 34}    0.521

Outcome: majs_dem_Lag. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .19282{col 33} .12832{col 43}1.5027{col 52}0.133{col 60}-.058676{col 73} .444317
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.9379{col 52}0.348{col 60}-.153095{col 73}  .43409
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.20  p 0.39  assigning a maj of 1 if tie with a tie-breaker lieutenant 
. rdrobust majh_dem dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       860
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      332{col 34}      528{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      248{col 34}      216{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   11.177{col 34}   11.177
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   20.941{col 34}   20.941
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.534{col 34}    0.534

Outcome: majh_dem. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.02653{col 33} .11002{col 43}-0.2411{col 52}0.809{col 60}-.242152{col 73}   .1891
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.4908{col 52}0.624{col 60}-.317262{col 73} .190197
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.0 p 0.60
. rdrobust majh_dem_Lag dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       820
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      318{col 34}      502{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      237{col 34}      210{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   11.692{col 34}   11.692
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   21.944{col 34}   21.944
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.533{col 34}    0.533

Outcome: majh_dem_Lag. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.03311{col 33} .11109{col 43}-0.2981{col 52}0.766{col 60}-.250837{col 73} .184611
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.5160{col 52}0.606{col 60}-.324345{col 73} .189156
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.01 p 0.89
. rdrobust demgov dems_num2 , c(0) 
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      233{col 34}      205{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   10.004{col 34}   10.004
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   20.545{col 34}   20.545
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.487{col 34}    0.487

Outcome: demgov. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .07602{col 33} .11568{col 43}0.6571{col 52}0.511{col 60}-.150713{col 73}  .30275
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.8697{col 52}0.384{col 60}-.145049{col 73} .376473
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.07 p 0.37
. rdrobust demgov_Lag dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       788
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      307{col 34}      481{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      144{col 34}      129{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    7.608{col 34}    7.608
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   12.795{col 34}   12.795
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.595{col 34}    0.595

Outcome: demgov_Lag. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.02826{col 33} .14456{col 43}-0.1955{col 52}0.845{col 60}-.311582{col 73} .255064
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.1000{col 52}0.920{col 60}-.367051{col 73} .331419
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.06 p 0.90
. rdrobust midterm dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      158{col 34}      135{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    7.644{col 34}    7.644
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   12.813{col 34}   12.813
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.597{col 34}    0.597

Outcome: midterm. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}  .0049{col 33} .13919{col 43}0.0352{col 52}0.972{col 60}-.267909{col 73} .277699
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.1266{col 52}0.899{col 60}-.314837{col 73} .358303
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.02  p 0.84
. rdrobust stincpc_scaled dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      137{col 34}      129{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    6.152{col 34}    6.152
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   12.430{col 34}   12.430
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.495{col 34}    0.495

Outcome: stincpc_scaled. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.57132{col 33}   .981{col 43}-0.5824{col 52}0.560{col 60}-2.49404{col 73}  1.3514
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.8947{col 52}0.371{col 60}-3.26846{col 73} 1.21968
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.65  p 0.51
. rdrobust stproptax_inc dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       821
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      321{col 34}      500{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      186{col 34}      154{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    8.626{col 34}    8.626
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   16.705{col 34}   16.705
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.516{col 34}    0.516

Outcome: stproptax_inc. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .41224{col 33} .36799{col 43}1.1202{col 52}0.263{col 60}-.309015{col 73} 1.13349
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}1.2833{col 52}0.199{col 60}-.290991{col 73} 1.39477
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.41 p 0.20
. rdrobust sttottax_inc dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      249{col 34}      221{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}   11.284{col 34}   11.284
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   21.252{col 34}   21.252
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.531{col 34}    0.531

Outcome: sttottax_inc. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.01833{col 33} .23472{col 43}-0.0781{col 52}0.938{col 60}-.478367{col 73}  .44171
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.2503{col 52}0.802{col 60}-.620473{col 73} .479957
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.15 p 0.40
. rdrobust unemp dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      217{col 34}      173{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    9.629{col 34}    9.629
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   15.905{col 34}   15.905
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.605{col 34}    0.605

Outcome: unemp. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}  .2797{col 33} .49074{col 43}0.5699{col 52}0.569{col 60}-.682138{col 73} 1.24153
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.5747{col 52}0.566{col 60}-.826003{col 73} 1.51133
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.21 p 0.64
. rdrobust year dems_num2 , c(0)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = 0}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      137{col 34}      129{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    6.546{col 34}    6.546
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}   12.618{col 34}   12.618
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.519{col 34}    0.519

Outcome: year. Running variable: dems_num2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-1.0384{col 33} 3.8988{col 43}-0.2663{col 52}0.790{col 60}-8.67987{col 73}  6.6031
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.5826{col 52}0.560{col 60} -11.794{col 73} 6.38904
{txt}{hline 19}{c BT}{hline 60}

{com}. * 0.6 p 0.31
. 
. 
. *** Senate balance percentage ***
. 
. rdrobust majs_dem_Lag dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       823
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      319{col 34}      504{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      189{col 34}      155{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.119{col 34}    0.119
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.215{col 34}    0.215
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.552{col 34}    0.552

Outcome: majs_dem_Lag. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}   .253{col 33} .11567{col 43}2.1872{col 52}0.029{col 60} .026285{col 73} .479714
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}1.5509{col 52}0.121{col 60}-.054204{col 73} .465179
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.25 p 0.11
. rdrobust majh_dem dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       860
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      332{col 34}      528{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      154{col 34}      126{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.094{col 34}    0.094
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.146{col 34}    0.146
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.645{col 34}    0.645

Outcome: majh_dem. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.00577{col 33} .12565{col 43}-0.0459{col 52}0.963{col 60} -.25203{col 73} .240495
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.0749{col 52}0.940{col 60} -.28782{col 73}   .3107
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.02  0.90
. rdrobust majh_dem_Lag dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       820
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      318{col 34}      502{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      148{col 34}      124{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.097{col 34}    0.097
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.157{col 34}    0.157
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.621{col 34}    0.621

Outcome: majh_dem_Lag. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .05019{col 33} .13159{col 43}0.3814{col 52}0.703{col 60}-.207729{col 73} .308104
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.5287{col 52}0.597{col 60}-.224657{col 73} .390642
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.016  p 0.75
. rdrobust demgov dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      196{col 34}      156{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.113{col 34}    0.113
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.217{col 34}    0.217
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.519{col 34}    0.519

Outcome: demgov. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .14303{col 33} .11694{col 43}1.2231{col 52}0.221{col 60}-.086164{col 73} .372233
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}1.4029{col 52}0.161{col 60}-.074019{col 73} .446801
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.20 p 0.11
. rdrobust demgov_Lag dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       788
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      307{col 34}      481{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      135{col 34}      119{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.085{col 34}    0.085
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.133{col 34}    0.133
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.639{col 34}    0.639

Outcome: demgov_Lag. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.04096{col 33}  .1442{col 43}-0.2841{col 52}0.776{col 60}-.323585{col 73} .241659
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.1927{col 52}0.847{col 60}-.376919{col 73} .309446
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.03 p 0.81
. rdrobust midterm dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      186{col 34}      144{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.103{col 34}    0.103
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.159{col 34}    0.159
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.644{col 34}    0.644

Outcome: midterm. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.03593{col 33} .13248{col 43}-0.2712{col 52}0.786{col 60}-.295577{col 73} .223716
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.1654{col 52}0.869{col 60}-.340079{col 73} .287149
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.00 p 0.80
. rdrobust stincpc_scaled dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      194{col 34}      152{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.107{col 34}    0.107
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.158{col 34}    0.158
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.676{col 34}    0.676

Outcome: stincpc_scaled. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .23646{col 33} .67349{col 43}0.3511{col 52}0.726{col 60}-1.08355{col 73} 1.55648
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.3491{col 52}0.727{col 60}-1.28862{col 73} 1.84706
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.41  0.51
. rdrobust stproptax_inc dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       821
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      321{col 34}      500{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      193{col 34}      170{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.123{col 34}    0.123
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.218{col 34}    0.218
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.568{col 34}    0.568

Outcome: stproptax_inc. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .51654{col 33} .32492{col 43}1.5897{col 52}0.112{col 60}-.120292{col 73} 1.15338
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}1.6769{col 52}0.094{col 60}-.106552{col 73} 1.36925
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.49 p 0.17
. rdrobust sttottax_inc dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      147{col 34}      123{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.084{col 34}    0.084
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.133{col 34}    0.133
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.635{col 34}    0.635

Outcome: sttottax_inc. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.07942{col 33} .30763{col 43}-0.2582{col 52}0.796{col 60}-.682359{col 73} .523525
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.1741{col 52}0.862{col 60}-.811373{col 73} .678961
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.04 p 0.86
. rdrobust unemp dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      203{col 34}      192{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.126{col 34}    0.126
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.183{col 34}    0.183
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.688{col 34}    0.688

Outcome: unemp. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}  .2952{col 33} .46416{col 43}0.6360{col 52}0.525{col 60}-.614537{col 73} 1.20493
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.5063{col 52}0.613{col 60}-.810769{col 73} 1.37554
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.24 p 0.60
. rdrobust year dems_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       867
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      334{col 34}      533{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      153{col 34}      127{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.091{col 34}    0.091
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.143{col 34}    0.143
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.637{col 34}    0.637

Outcome: year. Running variable: dems_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .06377{col 33} 3.2782{col 43}0.0195{col 52}0.984{col 60}-6.36148{col 73} 6.48901
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.1102{col 52}0.912{col 60}-8.10518{col 73} 7.24194
{txt}{hline 19}{c BT}{hline 60}

{com}. *1.78  p 0.77
. 
. 
.  ********  McCrary Density tests  ***********
. /*DCdensity demh_num2, breakpoint(0) gen(Xj Yj r0 fhat se_fhat)
> drop Yj- se_fhat
>  
>  DCdensity demh_pct2, breakpoint(0.5) gen(Xj Yj r0 fhat se_fhat)
> drop Yj- se_fhat
> 
> DCdensity dems_num2, breakpoint(0) gen(Xj Yj r0 fhat se_fhat)
> drop Yj- se_fhat
> 
>  DCdensity dems_pct2, breakpoint(0.5) gen(Xj Yj r0 fhat se_fhat)
> drop Yj- se_fhat
> */
. 
. 
. ************ TABLE 4 *****************************
. 
. **** 1 percentage/ 2 seats / CCT pct/ CCT Num  ****
. 
. ttest majh_dem_Next  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     13{col 22} .6153846{col 34} .1404417{col 46} .5063697{col 58} .3093885{col 70} .9213808
       {txt}1 {c |}{res}{col 12}     12{col 22}       .5{col 34} .1507557{col 46}  .522233{col 58}  .168189{col 70}  .831811
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     25{col 22}      .56{col 34} .1013246{col 46} .5066228{col 58} .3508764{col 70} .7691236
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1153846{col 34} .2060367{col 58}-.3111434{col 70} .5419126
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5600
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.7032

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7095         {txt}Pr(|T| > |t|) = {res}0.5810          {txt}Pr(T > t) = {res}0.2905
{txt}
{com}. *Rep 0.61; Dem 0.5; diff -0.11 p:0.58
. ttest majh_dem_Next  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .4545455{col 34} .1574592{col 46}  .522233{col 58} .1037046{col 70} .8053863
       {txt}1 {c |}{res}{col 12}     10{col 22}       .6{col 34} .1632993{col 46} .5163978{col 58} .2305913{col 70} .9694087
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .5238095{col 34} .1116766{col 46} .5117663{col 58} .2908563{col 70} .7567628
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1454545{col 34} .2268481{col 58}-.6205086{col 70} .3295995
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6412
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 18.8502

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2646         {txt}Pr(|T| > |t|) = {res}0.5291          {txt}Pr(T > t) = {res}0.7354
{txt}
{com}. *Rep 0.45; Dem 0.6; diff 0.14   p:0.53
. rdrobust majh_dem_Next demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       817
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      285{col 34}      532{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      132{col 34}      145{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.099{col 34}    0.099
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.168{col 34}    0.168
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.587{col 34}    0.587

Outcome: majh_dem_Next. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.05841{col 33} .15025{col 43}-0.3888{col 52}0.697{col 60}-.352893{col 73} .236063
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.6251{col 52}0.532{col 60}-.461214{col 73} .238168
{txt}{hline 19}{c BT}{hline 60}

{com}. * diff: -0.05 o: 0.7
. 
. ttest majs_dem_Next  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     13{col 22} .4615385{col 34} .1439099{col 46} .5188745{col 58} .1479857{col 70} .7750912
       {txt}1 {c |}{res}{col 12}     12{col 22}       .5{col 34} .1507557{col 46}  .522233{col 58}  .168189{col 70}  .831811
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     25{col 22}      .48{col 34} .1019804{col 46}  .509902{col 58} .2695228{col 70} .6904772
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0384615{col 34} .2084162{col 58}-.4697967{col 70} .3928737
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1845
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.8152

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4276         {txt}Pr(|T| > |t|) = {res}0.8552          {txt}Pr(T > t) = {res}0.5724
{txt}
{com}. * Rep 0.46. Dem 0.5, diff 0.04 p 0.85
. ttest majs_dem_Next  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .1818182{col 34} .1219673{col 46} .4045199{col 58} -.089942{col 70} .4535784
       {txt}1 {c |}{res}{col 12}     10{col 22}       .2{col 34} .1333333{col 46}  .421637{col 58} -.101621{col 70}  .501621
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .1904762{col 34} .0878052{col 46} .4023739{col 58} .0073178{col 70} .3736346
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0181818{col 34} .1807037{col 58}-.3969135{col 70} .3605499
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1006
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 18.6261

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4605         {txt}Pr(|T| > |t|) = {res}0.9209          {txt}Pr(T > t) = {res}0.5395
{txt}
{com}. *Rep 0.18; Dem 0.2; diff -0.02   p:0.92
. rdrobust majs_dem_Next demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       820
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      284{col 34}      536{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      157{col 34}      196{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.120{col 34}    0.120
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.193{col 34}    0.193
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.622{col 34}    0.622

Outcome: majs_dem_Next. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .01817{col 33} .11567{col 43}0.1571{col 52}0.875{col 60}-.208531{col 73} .244874
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.0140{col 52}0.989{col 60}-.273373{col 73} .277314
{txt}{hline 19}{c BT}{hline 60}

{com}. * diff: 0.02 o: 0.8
. 
. 
. ttest demgov_Next  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     13{col 22} .3076923{col 34} .1332347{col 46} .4803845{col 58} .0173989{col 70} .5979857
       {txt}1 {c |}{res}{col 12}     12{col 22}      .25{col 34} .1305582{col 46}  .452267{col 58}-.0373568{col 70} .5373568
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     25{col 22}      .28{col 34} .0916515{col 46} .4582576{col 58} .0908406{col 70} .4691594
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0576923{col 34} .1865394{col 58}-.3282053{col 70} .4435899
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3093
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.9876

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6201         {txt}Pr(|T| > |t|) = {res}0.7599          {txt}Pr(T > t) = {res}0.3799
{txt}
{com}. * Rep 0.31 Dem 0.25; diff -0.06 p: 0.76
. ttest demgov_Next  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .1818182{col 34} .1219673{col 46} .4045199{col 58} -.089942{col 70} .4535784
       {txt}1 {c |}{res}{col 12}     10{col 22}       .4{col 34} .1632993{col 46} .5163978{col 58} .0305913{col 70} .7694087
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .2857143{col 34} .1010153{col 46}   .46291{col 58} .0750002{col 70} .4964284
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2181818{col 34} .2038203{col 58}-.6480839{col 70} .2117202
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0705
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 17.0631

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1497         {txt}Pr(|T| > |t|) = {res}0.2993          {txt}Pr(T > t) = {res}0.8503
{txt}
{com}. *Rep 0.18; Dem 0.4; diff 0.22   p:0.29
. rdrobust demgov_Next demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       785
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      268{col 34}      517{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      115{col 34}      120{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.086{col 34}    0.086
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.141{col 34}    0.141
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.609{col 34}    0.609

Outcome: demgov_Next. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .07702{col 33} .14961{col 43}0.5148{col 52}0.607{col 60}-.216211{col 73}  .37025
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}0.6040{col 52}0.546{col 60}-.246193{col 73} .465543
{txt}{hline 19}{c BT}{hline 60}

{com}. *0.08 p: 0.60
. 
. 
. **************************************************************************************
. ******************** On-line Appendix ************************************************
. **************************************************************************************
. 
. 
. 
. 
. *************** TABLE A1 APPENDIX SMALL SAMPLE INFERENCE *************************
. 
. ******************** 1% - 1% **********************************
. ******************** House - numbers ************************
. 
. rdrandinf majs_dem demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           860
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      307{col 33}       553{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        11{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.333{col 33}     0.364{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.492{col 33}     0.505{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majs_dem{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.030{col 36}  1.000{col 51}  0.884{col 74}  0.219
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.0
. rdrandinf majs_dem_Lag demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           820
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      293{col 33}       527{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       10{col 33}         9{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.222{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.527{col 33}     0.441{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majs_dem_Lag{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.278{col 36}  0.353{col 51}  0.211{col 74}  0.220
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.35
. rdrandinf demgov demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        11{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.417{col 33}     0.364{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.515{col 33}     0.505{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.053{col 36}  1.000{col 51}  0.803{col 74}  0.228
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.0
. rdrandinf demgov_Lag demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           785
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      279{col 33}       506{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       10{col 33}         9{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.600{col 33}     0.444{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.516{col 33}     0.527{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov_Lag2{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.156{col 36}  0.661{col 51}  0.517{col 74}  0.190
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.66
. rdrandinf majh_dem_Lag demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           817
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      291{col 33}       526{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        8{col 33}         9{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.444{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.535{col 33}     0.527{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majh_dem_Lag{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.27
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.056{col 36}  1.000{col 51}  0.830{col 74}  0.179
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.0
. rdrandinf stproptax_inc demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           818
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      296{col 33}       522{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       10{col 33}        10{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    3.941{col 33}     3.890{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.897{col 33}     1.179{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stproptax_inc{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.45
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.050{col 36}  0.927{col 51}  0.915{col 74}  0.160
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.91
. rdrandinf sttottax_inc demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        11{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    4.966{col 33}     5.010{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.164{col 33}     1.133{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}sttottax_inc{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.58
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.044{col 36}  0.924{col 51}  0.926{col 74}  0.229
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.91
. rdrandinf unemp demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        11{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    5.592{col 33}     6.100{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.548{col 33}     2.223{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}unemp{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.77
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.508{col 36}  0.526{col 51}  0.528{col 74}  0.161
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.57
. rdrandinf stincpc_scaled demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        11{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}   11.570{col 33}    12.324{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    2.436{col 33}     2.951{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stincpc_scaled{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    1.22
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.755{col 36}  0.514{col 51}  0.506{col 74}  0.189
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.51
. rdrandinf midterm demh_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        11{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.273{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.522{col 33}     0.467{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}midterm{txt}. Running variable: {res}demh_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.227{col 36}  0.415{col 51}  0.271{col 74}  0.244
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.40  
.         
. ******************** 2 - 2 **********************************
. ******************** House - numbers ************************   
. 
. rdrandinf majs_dem demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           860
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      307{col 33}       553{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       14{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.357{col 33}     0.583{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.497{col 33}     0.515{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majs_dem{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.226{col 36}  0.454{col 51}  0.257{col 74}  0.239
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.42
. rdrandinf majs_dem_Lag demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           820
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      293{col 33}       527{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        10{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.500{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.522{col 33}     0.527{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majs_dem_Lag{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.000{col 36}  1.000{col 51}  1.000{col 74}  0.213
{txt}{hline 18}{c BT}{hline 61}

{com}. *1.0
. rdrandinf demgov demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       14{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.333{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.519{col 33}     0.492{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.167{col 36}  0.450{col 51}  0.401{col 74}  0.257
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.43
. rdrandinf demgov_Lag demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           785
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      279{col 33}       506{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}         9{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.417{col 33}     0.556{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.515{col 33}     0.527{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov_Lag2{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.139{col 36}  0.667{col 51}  0.546{col 74}  0.201
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.67
. rdrandinf majh_dem_Lag demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           817
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      291{col 33}       526{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       10{col 33}        10{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.600{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.527{col 33}     0.516{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majh_dem_Lag{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.100{col 36}  1.000{col 51}  0.668{col 74}  0.204
{txt}{hline 18}{c BT}{hline 61}

{com}. *1.0
. rdrandinf stproptax_inc demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           818
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      296{col 33}       522{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       12{col 33}        10{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    3.918{col 33}     3.973{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.065{col 33}     1.254{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stproptax_inc{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.53
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.055{col 36}  0.909{col 51}  0.912{col 74}  0.186
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.92
. rdrandinf sttottax_inc demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       14{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    5.120{col 33}     4.683{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.161{col 33}     0.995{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}sttottax_inc{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.58
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.437{col 36}  0.324{col 51}  0.301{col 74}  0.279
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.32
. rdrandinf unemp demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       14{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    5.436{col 33}     5.750{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.534{col 33}     1.460{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}unemp{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.77
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.314{col 36}  0.612{col 51}  0.593{col 74}  0.257
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.61
. rdrandinf midterm demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       14{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.333{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.519{col 33}     0.492{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}midterm{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.167{col 36}  0.429{col 51}  0.401{col 74}  0.257
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.46
. rdrandinf stincpc_scaled demh_num2, cutoff(0) wl(-2) wr(2) 

{txt}Selected window = {res}[-2 ; 2]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           864
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      310{col 33}       554{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       14{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}   12.436{col 33}    11.418{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    2.849{col 33}     3.232{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -2.000{col 33}     2.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stincpc_scaled{txt}. Running variable: {res}demh_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    1.42
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -1.018{col 36}  0.389{col 51}  0.398{col 74}  0.219
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.39
. 
. 
. 
. ******************** 1 - 1 **********************************
. ******************** Senate - numbers ************************
. 
. rdrandinf majh_dem dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           860
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      332{col 33}       528{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        21{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.519{col 33}     0.571{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.509{col 33}     0.507{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majh_dem{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.053{col 36}  0.750{col 51}  0.720{col 74}  0.406
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.77
. rdrandinf majh_dem_Lag dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           820
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      318{col 33}       502{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       24{col 33}        21{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.542{col 33}     0.571{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.509{col 33}     0.507{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majh_dem_Lag{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.030{col 36}  1.000{col 51}  0.845{col 74}  0.389
{txt}{hline 18}{c BT}{hline 61}

{com}. *1.0
. rdrandinf demgov dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        23{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.444{col 33}     0.696{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.506{col 33}     0.470{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.251{col 36}  0.093{col 51}  0.069{col 74}  0.449
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.11 ************
. rdrandinf demgov_Lag2 dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           788
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      307{col 33}       481{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       25{col 33}        22{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.560{col 33}     0.591{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.507{col 33}     0.503{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov_Lag2{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.031{col 36}  1.000{col 51}  0.834{col 74}  0.404
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.0
. rdrandinf majs_dem_Lag dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           823
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      319{col 33}       504{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       25{col 33}        22{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.360{col 33}     0.591{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.503{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majs_dem_Lag{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.24
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.231{col 36}  0.148{col 51}  0.112{col 74}  0.392
{txt}{hline 18}{c BT}{hline 61}

{com}. *0.14 ********
. rdrandinf stproptax_inc dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           821
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      321{col 33}       500{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        22{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    3.417{col 33}     3.562{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.279{col 33}     1.550{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stproptax_inc{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.64
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.144{col 36}  0.727{col 51}  0.726{col 74}  0.342
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.70
. rdrandinf sttottax_inc dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        23{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    5.156{col 33}     5.165{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.358{col 33}     0.810{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}sttottax_inc{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.68
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.009{col 36}  0.968{col 51}  0.976{col 74}  0.588
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.97
. rdrandinf unemp dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        23{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    5.552{col 33}     6.048{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.566{col 33}     2.184{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}unemp{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.78
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.496{col 36}  0.372{col 51}  0.364{col 74}  0.300
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.35
. rdrandinf midterm dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        23{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.444{col 33}     0.391{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.506{col 33}     0.499{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}midterm{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.25
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.053{col 36}  0.792{col 51}  0.709{col 74}  0.427
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.79
. rdrandinf stincpc_scaled dems_num2, cutoff(0) wl(-1) wr(1) 

{txt}Selected window = {res}[-1 ; 1]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.00{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}       27{col 33}        23{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}   12.541{col 33}    12.082{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    3.222{col 33}     3.006{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}   -1.000{col 33}     1.000{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stincpc_scaled{txt}. Running variable: {res}dems_num2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    1.61
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.459{col 36}  0.611{col 51}  0.602{col 74}  0.447
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.58
. 
. 
. ** Senate - percentage
. 
. rdrandinf majh_dem dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           860
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      332{col 33}       528{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        14{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.571{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.548{col 33}     0.514{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majh_dem{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.27
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.071{col 36}  1.000{col 51}  0.785{col 74}  0.181
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.0
. rdrandinf majh_dem_Lag dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           820
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      318{col 33}       502{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        12{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.750{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.548{col 33}     0.452{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majh_dem_Lag{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.27
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.250{col 36}  0.612{col 51}  0.334{col 74}  0.185
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.59
. rdrandinf demgov dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        14{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.333{col 33}     0.714{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.516{col 33}     0.469{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.26
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.381{col 36}  0.149{col 51}  0.120{col 74}  0.183
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.13 *****
. rdrandinf demgov_Lag2 dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           788
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      307{col 33}       481{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        13{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.615{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.548{col 33}     0.506{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}demgov_Lag2{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.27
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.115{col 36}  1.000{col 51}  0.662{col 74}  0.179
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.0
. rdrandinf majs_dem_Lag dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           823
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      319{col 33}       504{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        13{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.167{col 33}     0.769{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.408{col 33}     0.439{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}majs_dem_Lag{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.20
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.603{col 36}  0.039{col 51}  0.003{col 74}  0.167
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.03 *****
. rdrandinf stproptax_inc dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           821
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      321{col 33}       500{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        13{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    3.691{col 33}     3.844{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.381{col 33}     1.580{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stproptax_inc{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.69
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.153{col 36}  0.850{col 51}  0.830{col 74}  0.162
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.84
. rdrandinf sttottax_inc dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        14{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    5.524{col 33}     5.070{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.395{col 33}     0.811{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}sttottax_inc{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.70
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.454{col 36}  0.327{col 51}  0.456{col 74}  0.208
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.39
. rdrandinf unemp dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        14{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    6.550{col 33}     5.950{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    2.004{col 33}     1.846{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}unemp{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    1.00
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}   -0.600{col 36}  0.523{col 51}  0.530{col 74}  0.182
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.50
. rdrandinf midterm dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        14{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}    0.500{col 33}     0.500{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    0.548{col 33}     0.519{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}midterm{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.27
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.000{col 36}  1.000{col 51}  1.000{col 74}  0.180
{txt}{hline 18}{c BT}{hline 61}

{com}. * 1.00
. rdrandinf stincpc_scaled dems_pct2, cutoff(0.5) wl(0.49) wr(0.51) 

{txt}Selected window = {res}[.49 ; .51]

{txt}Running randomization-based test...
Randomization-based test complete.


Inference for sharp design


Cutoff c = {res}0.50{txt}{col 19}{c |}{col 22}Left of c{col 33}Right of c{col 51}Number of obs = {res}           867
{txt}{hline 18}{c +}{hline 23}{col 51}Order of poly = {res}             0
{txt}{ralign 18:Number of obs}{col 19}{c |}{col 22}{res}      334{col 33}       533{col 51}{txt}Kernel type   = {res}{ralign 14: uniform}
{txt}{ralign 18:Eff. Number of obs}{col 19}{c |}{col 22}{res}        6{col 33}        14{col 51}{txt}Reps          = {res}          1000
{txt}{ralign 18:Mean of outcome}{col 19}{c |}{col 22}{res}   10.445{col 33}    11.276{col 51}{txt}Window        = {res}{ralign 14: set by user}
{txt}{ralign 18:S.D. of outcome}{col 19}{c |}{col 22}{res}    1.289{col 33}     2.281{col 51}{txt}H0:       tau = {res}         0.000
{txt}{ralign 18:Window}{col 19}{c |}{col 22}{res}    0.490{col 33}     0.510{col 51}{txt}Randomization = {res}{ralign 12: fixed margins}

{txt}Outcome: {res}stincpc_scaled{txt}. Running variable: {res}dems_pct2{txt}.
{hline 18}{c TT}{hline 61}
{col 19}{c |}{col 34}Finite sample{col 60}Large sample
{col 19}{c |}{col 33}{hline 15}{col 50}{hline 31}
{ralign 18:Statistic}{c |}{col 20}      T{col 36}  P>|T|{col 50}  P>|T|{col 60}Power vs d = {res}    0.64
{txt}{hline 18}{c +}{hline 61}
{ralign 18:Diff. in means}{c |}{col 22}{res}    0.831{col 36}  0.444{col 51}  0.302{col 74}  0.126
{txt}{hline 18}{c BT}{hline 61}

{com}. * 0.41
. 
. 
. 
. 
. 
. 
. 
. 
. *************** TABLE A2 APPENDIX Kolmogorov-Smirnov statistic for window selection *************************
. 
. ****************** HOUSE  seat numners ***********
. **** 2 seats *****
. ksmirnov majs_dem  if demh_num<=2 & demh_num>=-2  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2262    0.516
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2262    0.896      0.797

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 26 observations.

{com}. ksmirnov majs_dem_Lag  if demh_num<=2 & demh_num>=-2  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0000    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 22 observations.

{com}. ksmirnov demgov  if demh_num<=2 & demh_num>=-2  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.1667    0.698
{txt} Combined K-S:     {res}  0.1667    0.994      0.978

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 26 observations.

{com}. ksmirnov demgov_Lag  if demh_num<=2 & demh_num>=-2  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1389    0.820
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1389    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 21 observations.

{com}. ksmirnov majh_dem_Lag  if demh_num<=2 & demh_num>=-2  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1000    0.905
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1000    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 20 observations.

{com}. ksmirnov stproptax_inc  if demh_num<=2 & demh_num>=-2 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1500    0.782
{txt} 1:                {res} -0.1833    0.693
{txt} Combined K-S:     {res}  0.1833    0.993      0.968
{txt}
{com}. ksmirnov sttottax_inc  if demh_num<=2 & demh_num>=-2 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0833    0.914
{txt} 1:                {res} -0.3214    0.263
{txt} Combined K-S:     {res}  0.3214    0.517      0.426
{txt}
{com}. *********************0.26 (group 1 Dem larger values)
. ksmirnov unemp  if demh_num<=2 & demh_num>=-2 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2500    0.446
{txt} 1:                {res} -0.0714    0.936
{txt} Combined K-S:     {res}  0.2500    0.814      0.738

{txt}Note: Ties exist in combined dataset;
      there are 21 unique values out of 26 observations.

{com}. ksmirnov midterm  if demh_num<=2 & demh_num>=-2  & election_les==1, by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.1667    0.698
{txt} Combined K-S:     {res}  0.1667    0.994      0.978

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 26 observations.

{com}. ksmirnov stincpc_scaled  if demh_num<=2 & demh_num>=-2 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0714    0.936
{txt} 1:                {res} -0.2619    0.412
{txt} Combined K-S:     {res}  0.2619    0.767      0.684
{txt}
{com}. 
. **** 3 seats *****
. ksmirnov majs_dem  if demh_num<=3 & demh_num>=-3  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1956    0.449
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1956    0.818      0.734

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 43 observations.

{com}. ksmirnov majs_dem_Lag  if demh_num<=3 & demh_num>=-3  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0238    0.991
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0238    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 35 observations.

{com}. ksmirnov demgov  if demh_num<=3 & demh_num>=-3  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0513    0.946
{txt} Combined K-S:     {res}  0.0513    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 44 observations.

{com}. ksmirnov demgov_Lag  if demh_num<=3 & demh_num>=-3  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0524    0.956
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0524    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 35 observations.

{com}. ksmirnov majh_dem_Lag  if demh_num<=3 & demh_num>=-3  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1929    0.542
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1929    0.919      0.850

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 34 observations.

{com}. ksmirnov stproptax_inc  if demh_num<=3 & demh_num>=-3 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1507    0.662
{txt} 1:                {res} -0.1623    0.620
{txt} Combined K-S:     {res}  0.1623    0.970      0.930
{txt}
{com}. ksmirnov sttottax_inc  if demh_num<=3 & demh_num>=-3 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0385    0.969
{txt} 1:                {res} -0.2949    0.157
{txt} Combined K-S:     {res}  0.2949    0.313      0.253
{txt}
{com}. *********************0.16 (group 1 Dem larger values)
. ksmirnov unemp  if demh_num<=3 & demh_num>=-3 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1410    0.655
{txt} 1:                {res} -0.0342    0.975
{txt} Combined K-S:     {res}  0.1410    0.984      0.958

{txt}Note: Ties exist in combined dataset;
      there are 31 unique values out of 44 observations.

{com}. ksmirnov midterm  if demh_num<=3 & demh_num>=-3  & election_les==1, by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0043    1.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0043    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 44 observations.

{com}. ksmirnov stincpc_scaled  if demh_num<=3 & demh_num>=-3 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1068    0.784
{txt} 1:                {res} -0.2009    0.424
{txt} Combined K-S:     {res}  0.2009    0.784      0.697
{txt}
{com}. 
. **** 4 seats *****
. ksmirnov majs_dem  if demh_num<=4 & demh_num>=-4  , by(majh_dem) 

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 0:                {res}  0.1445    0.545
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1445    0.922

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 59 observations.

{com}. ksmirnov majs_dem_Lag  if demh_num<=4 & demh_num>=-4  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0063    0.999
{txt} Combined K-S:     {res}  0.0063    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 51 observations.

{com}. ksmirnov demgov  if demh_num<=4 & demh_num>=-4  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.1425    0.550
{txt} Combined K-S:     {res}  0.1425    0.926      0.873

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 60 observations.

{com}. ksmirnov demgov_Lag  if demh_num<=4 & demh_num>=-4  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0952    0.804
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0952    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 49 observations.

{com}. ksmirnov majh_dem_Lag  if demh_num<=4 & demh_num>=-4  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0269    0.983
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0269    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 49 observations.

{com}. ksmirnov stproptax_inc  if demh_num<=4 & demh_num>=-4 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1543    0.533
{txt} 1:                {res} -0.1893    0.388
{txt} Combined K-S:     {res}  0.1893    0.731      0.646
{txt}
{com}. ksmirnov sttottax_inc  if demh_num<=4 & demh_num>=-4 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0588    0.903
{txt} 1:                {res} -0.2624    0.131
{txt} Combined K-S:     {res}  0.2624    0.262      0.213
{txt}
{com}. *********************0. 13 (group 1 Dem larger values)
. ksmirnov unemp  if demh_num<=4 & demh_num>=-4 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1448    0.539
{txt} 1:                {res} -0.0023    1.000
{txt} Combined K-S:     {res}  0.1448    0.917      0.859

{txt}Note: Ties exist in combined dataset;
      there are 37 unique values out of 60 observations.

{com}. ksmirnov midterm  if demh_num<=4 & demh_num>=-4  & election_les==1, by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1380    0.571
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1380    0.942      0.897

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 60 observations.

{com}. ksmirnov stincpc_scaled  if demh_num<=4 & demh_num>=-4 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1041    0.727
{txt} 1:                {res} -0.0792    0.831
{txt} Combined K-S:     {res}  0.1041    0.997      0.989
{txt}
{com}. 
. 
. **** 5 seats *****
. ksmirnov majs_dem  if demh_num<=5 & demh_num>=-5  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1722    0.307
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1722    0.597      0.525

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 80 observations.

{com}. ksmirnov majs_dem_Lag  if demh_num<=5 & demh_num>=-5  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0023    1.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0023    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 72 observations.

{com}. ksmirnov demgov  if demh_num<=5 & demh_num>=-5  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0891    0.727
{txt} Combined K-S:     {res}  0.0891    0.997      0.990

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 81 observations.

{com}. ksmirnov demgov_Lag  if demh_num<=5 & demh_num>=-5  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0279    0.974
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0279    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 69 observations.

{com}. ksmirnov majh_dem_Lag  if demh_num<=5 & demh_num>=-5  , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0893    0.757
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0893    0.999      0.995

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 70 observations.

{com}. ksmirnov stproptax_inc  if demh_num<=5 & demh_num>=-5 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1184    0.594
{txt} 1:                {res} -0.1593    0.390
{txt} Combined K-S:     {res}  0.1593    0.733      0.658
{txt}
{com}. ksmirnov sttottax_inc  if demh_num<=5 & demh_num>=-5 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0940    0.701
{txt} 1:                {res} -0.1456    0.427
{txt} Combined K-S:     {res}  0.1456    0.788      0.720
{txt}
{com}. *********************0.43 (group 1 Dem larger values)
. ksmirnov unemp  if demh_num<=5 & demh_num>=-5 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1259    0.529
{txt} 1:                {res} -0.0326    0.958
{txt} Combined K-S:     {res}  0.1259    0.907      0.853

{txt}Note: Ties exist in combined dataset;
      there are 46 unique values out of 81 observations.

{com}. ksmirnov midterm  if demh_num<=5 & demh_num>=-5  & election_les==1, by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1001    0.668
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1001    0.988      0.970

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 81 observations.

{com}. ksmirnov stincpc_scaled  if demh_num<=5 & demh_num>=-5 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1474    0.417
{txt} 1:                {res} -0.0565    0.880
{txt} Combined K-S:     {res}  0.1474    0.775      0.704
{txt}
{com}. 
. 
. 
. ****************** HOUSE  percentage seats**********
. 
. ** House - 1 percent
. ksmirnov majs_dem  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0303    0.990
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0303    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 23 observations.

{com}. ksmirnov majs_dem_Lag  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.2778    0.481
{txt} Combined K-S:     {res}  0.2778    0.858      0.740

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 19 observations.

{com}. ksmirnov demgov  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0530    0.968
{txt} Combined K-S:     {res}  0.0530    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 23 observations.

{com}. ksmirnov demgov_Lag  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.1556    0.795
{txt} Combined K-S:     {res}  0.1556    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 19 observations.

{com}. ksmirnov majh_dem_Lag  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0556    0.974
{txt} Combined K-S:     {res}  0.0556    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 17 observations.

{com}. ksmirnov stproptax_inc  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2000    0.670
{txt} 1:                {res} -0.3000    0.407
{txt} Combined K-S:     {res}  0.3000    0.759      0.787
{txt}
{com}. ksmirnov sttottax_inc  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1364    0.808
{txt} 1:                {res} -0.1591    0.748
{txt} Combined K-S:     {res}  0.1591    0.999      0.988
{txt}
{com}. ksmirnov unemp  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1818    0.684
{txt} 1:                {res} -0.0530    0.968
{txt} Combined K-S:     {res}  0.1818    0.991      0.966

{txt}Note: Ties exist in combined dataset;
      there are 20 unique values out of 23 observations.

{com}. ksmirnov stincpc_scaled  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2955    0.367
{txt} 1:                {res} -0.0985    0.895
{txt} Combined K-S:     {res}  0.2955    0.698      0.596
{txt}
{com}. *****************0.37 (group 1 Dem lower values)
. ksmirnov midterm  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.2273    0.553
{txt} Combined K-S:     {res}  0.2273    0.928      0.840

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 23 observations.

{com}. 
. 
. ** House - 2 percent
. ksmirnov majs_dem  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0874    0.820
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0874    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 52 observations.

{com}. ksmirnov majs_dem_Lag  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0632    0.914
{txt} Combined K-S:     {res}  0.0632    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 45 observations.

{com}. ksmirnov demgov  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0163    0.993
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0163    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 52 observations.

{com}. ksmirnov demgov_Lag  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1169    0.746
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1169    0.999      0.990

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 43 observations.

{com}. ksmirnov majh_dem_Lag  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0152    0.995
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0152    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 43 observations.

{com}. ksmirnov stproptax_inc  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1630    0.536
{txt} 1:                {res} -0.1178    0.722
{txt} Combined K-S:     {res}  0.1630    0.914      0.833
{txt}
{com}. ksmirnov sttottax_inc  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0400    0.959
{txt} 1:                {res} -0.3437    0.047
{txt} Combined K-S:     {res}  0.3437    0.093      0.070
{txt}
{com}. *****************0.05 (group 1 Dem higher values)
. ksmirnov unemp  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1496    0.559
{txt} 1:                {res} -0.0919    0.803
{txt} Combined K-S:     {res}  0.1496    0.933      0.865

{txt}Note: Ties exist in combined dataset;
      there are 34 unique values out of 52 observations.

{com}. ksmirnov stincpc_scaled  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0444    0.950
{txt} 1:                {res} -0.1793    0.434
{txt} Combined K-S:     {res}  0.1793    0.798      0.706
{txt}
{com}. ksmirnov midterm  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0326    0.973
{txt} Combined K-S:     {res}  0.0326    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 52 observations.

{com}.                 
.                 
. ** House - 3 percent
. ksmirnov majs_dem  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1551    0.388
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1551    0.731      0.655

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 79 observations.

{com}. ksmirnov majs_dem_Lag  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0797    0.799
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0797    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 71 observations.

{com}. ksmirnov demgov  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0689    0.830
{txt} Combined K-S:     {res}  0.0689    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 79 observations.

{com}. ksmirnov demgov_Lag  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0324    0.966
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0324    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 67 observations.

{com}. ksmirnov majh_dem_Lag  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1316    0.560
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1316    0.934      0.886

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 68 observations.

{com}. ksmirnov stproptax_inc  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0581    0.885
{txt} 1:                {res} -0.2557    0.093
{txt} Combined K-S:     {res}  0.2557    0.186      0.148
{txt}
{com}. *****************0.09 (group 1 Dem higher values)
. ksmirnov sttottax_inc  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0888    0.733
{txt} 1:                {res} -0.1281    0.525
{txt} Combined K-S:     {res}  0.1281    0.904      0.847
{txt}
{com}. ksmirnov unemp  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1564    0.382
{txt} 1:                {res} -0.0669    0.838
{txt} Combined K-S:     {res}  0.1564    0.722      0.649

{txt}Note: Ties exist in combined dataset;
      there are 41 unique values out of 79 observations.

{com}. ksmirnov stincpc_scaled  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1725    0.310
{txt} 1:                {res} -0.0592    0.871
{txt} Combined K-S:     {res}  0.1725    0.602      0.528
{txt}
{com}. ksmirnov midterm  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1725    0.310
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1725    0.602      0.528

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 79 observations.

{com}. 
. ** House - 4 percent
. ksmirnov majs_dem  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1711    0.179
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1711    0.356      0.310

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 118 observations.

{com}. ksmirnov majs_dem_Lag  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1396    0.344
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1396    0.661      0.596

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 110 observations.

{com}. ksmirnov demgov  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0068    0.997
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0068    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 119 observations.

{com}. ksmirnov demgov_Lag  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1015    0.588
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1015    0.954      0.921

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 103 observations.

{com}. ksmirnov majh_dem_Lag  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2214    0.073
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2214    0.147      0.122

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 107 observations.

{com}. ksmirnov stproptax_inc  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0328    0.942
{txt} 1:                {res} -0.2707    0.017
{txt} Combined K-S:     {res}  0.2707    0.034      0.026
{txt}
{com}. *****************0.02 (group 1 Dem higher values)
. ksmirnov sttottax_inc  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0994    0.557
{txt} 1:                {res} -0.1332    0.350
{txt} Combined K-S:     {res}  0.1332    0.670      0.609
{txt}
{com}. ksmirnov unemp  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1727    0.171
{txt} 1:                {res} -0.0210    0.974
{txt} Combined K-S:     {res}  0.1727    0.341      0.296

{txt}Note: Ties exist in combined dataset;
      there are 51 unique values out of 119 observations.

{com}. ksmirnov stincpc_scaled  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2173    0.061
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2173    0.122      0.101

{txt}Note: Ties exist in combined dataset;
      there are 118 unique values out of 119 observations.

{com}. ksmirnov midterm  if demh_pct<=0.54 & demh_pct>=0.46 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0821    0.671
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0821    0.988      0.974

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 119 observations.

{com}.                 
. ** House - 5 percent
. ksmirnov majs_dem  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2260    0.031
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2260    0.062      0.051

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 136 observations.

{com}. ksmirnov majs_dem_Lag  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2251    0.040
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2251    0.081      0.066

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 127 observations.

{com}. ksmirnov demgov  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0111    0.992
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0111    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 137 observations.

{com}. ksmirnov demgov_Lag  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1134    0.463
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1134    0.836      0.770

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 120 observations.

{com}. ksmirnov majh_dem_Lag  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2795    0.008
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2795    0.016      0.012

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 124 observations.

{com}. ksmirnov stproptax_inc  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0302    0.944
{txt} 1:                {res} -0.2716    0.010
{txt} Combined K-S:     {res}  0.2716    0.019      0.015
{txt}
{com}. *****************0.01 (group 1 Dem higher values)
. ksmirnov sttottax_inc  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0882    0.587
{txt} 1:                {res} -0.1209    0.368
{txt} Combined K-S:     {res}  0.1209    0.700      0.640
{txt}
{com}. ksmirnov unemp  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2062    0.055
{txt} 1:                {res} -0.0030    0.999
{txt} Combined K-S:     {res}  0.2062    0.110      0.091

{txt}Note: Ties exist in combined dataset;
      there are 55 unique values out of 137 observations.

{com}. ksmirnov stincpc_scaled  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1919    0.081
{txt} 1:                {res} -0.0158    0.983
{txt} Combined K-S:     {res}  0.1919    0.162      0.136

{txt}Note: Ties exist in combined dataset;
      there are 136 unique values out of 137 observations.

{com}. ksmirnov midterm  if demh_pct<=0.55 & demh_pct>=0.45 , by(majh_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0756    0.676
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0756    0.990      0.978

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 137 observations.

{com}.                 
. 
.                 
. ****************** SENATE seat numners ***********
.                 
. ** Senate - 1 seat              
. ksmirnov majh_dem  if dems_num<=1 & dems_num>=-1  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0529    0.936
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0529    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 48 observations.

{com}. ksmirnov majh_dem_Lag  if dems_num<=1 & dems_num>=-1  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0298    0.980
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0298    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 45 observations.

{com}. ksmirnov demgov  if dems_num<=1 & dems_num>=-1  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2512    0.209
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2512    0.413      0.339

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 50 observations.

{com}. **************** 0.21  (Rep has higher vales than Dem)
. ksmirnov demgov_Lag2  if dems_num<=1 & dems_num>=-1  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0309    0.978
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0309    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 47 observations.

{com}. ksmirnov majs_dem_Lag  if dems_num<=1 & dems_num>=-1  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2309    0.287
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2309    0.561      0.476

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 47 observations.

{com}. ksmirnov stproptax_inc  if dems_num<=1 & dems_num>=-1 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1902    0.416
{txt} 1:                {res} -0.2542    0.209
{txt} Combined K-S:     {res}  0.2542    0.414      0.337
{txt}
{com}. **************** 0.21  (Rep has higher vales than Dem)
. ksmirnov sttottax_inc  if dems_num<=1 & dems_num>=-1 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1353    0.635
{txt} 1:                {res} -0.1272    0.669
{txt} Combined K-S:     {res}  0.1353    0.977      0.945
{txt}
{com}. ksmirnov unemp  if dems_num<=1 & dems_num>=-1 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2254    0.283
{txt} 1:                {res} -0.1063    0.755
{txt} Combined K-S:     {res}  0.2254    0.553      0.468

{txt}Note: Ties exist in combined dataset;
      there are 38 unique values out of 50 observations.

{com}. ksmirnov midterm  if dems_num<=1 & dems_num>=-1  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0531    0.932
{txt} Combined K-S:     {res}  0.0531    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 50 observations.

{com}. ksmirnov stincpc_scaled  if dems_num<=1 & dems_num>=-1 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0676    0.893
{txt} 1:                {res} -0.2190    0.304
{txt} Combined K-S:     {res}  0.2190    0.591      0.506
{txt}
{com}. 
. ** Senate - 2 seat              
. ksmirnov majh_dem  if dems_num<=2 & dems_num>=-2  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0828    0.745
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0828    0.999      0.994

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 89 observations.

{com}. ksmirnov majh_dem_Lag  if dems_num<=2 & dems_num>=-2  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0208    0.982
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0208    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 84 observations.

{com}. ksmirnov demgov  if dems_num<=2 & dems_num>=-2  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0432    0.921
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0432    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 91 observations.

{com}. ksmirnov demgov_Lag2  if dems_num<=2 & dems_num>=-2  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0158    0.990
{txt} Combined K-S:     {res}  0.0158    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 85 observations.

{com}. ksmirnov majs_dem_Lag  if dems_num<=2 & dems_num>=-2  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.3149    0.015
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.3149    0.031      0.023

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 86 observations.

{com}. **************** 0.01  (Rep has lower vales than Rep)
. ksmirnov stproptax_inc  if dems_num<=2 & dems_num>=-2 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1432    0.418
{txt} 1:                {res} -0.0805    0.759
{txt} Combined K-S:     {res}  0.1432    0.776      0.709
{txt}
{com}. ksmirnov sttottax_inc  if dems_num<=2 & dems_num>=-2 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1435    0.402
{txt} 1:                {res} -0.0869    0.716
{txt} Combined K-S:     {res}  0.1435    0.752      0.686
{txt}
{com}. ksmirnov unemp  if dems_num<=2 & dems_num>=-2 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2090    0.145
{txt} 1:                {res} -0.0412    0.928
{txt} Combined K-S:     {res}  0.2090    0.288      0.244

{txt}Note: Ties exist in combined dataset;
      there are 51 unique values out of 91 observations.

{com}. ksmirnov midterm  if dems_num<=2 & dems_num>=-2  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0472    0.906
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0472    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 91 observations.

{com}. ksmirnov stincpc_scaled  if dems_num<=2 & dems_num>=-2 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1246    0.503
{txt} 1:                {res} -0.1529    0.355
{txt} Combined K-S:     {res}  0.1529    0.679      0.609
{txt}
{com}. 
. ** Senate - 3 seat              
. ksmirnov majh_dem  if dems_num<=3 & dems_num>=-3  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1770    0.142
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1770    0.282      0.245

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 126 observations.

{com}. ksmirnov majh_dem_Lag  if dems_num<=3 & dems_num>=-3  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1259    0.399
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1259    0.748      0.688

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 117 observations.

{com}. ksmirnov demgov  if dems_num<=3 & dems_num>=-3  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0737    0.708
{txt} Combined K-S:     {res}  0.0737    0.995      0.987

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 128 observations.

{com}. ksmirnov demgov_Lag2  if dems_num<=3 & dems_num>=-3  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0839    0.662
{txt} Combined K-S:     {res}  0.0839    0.986      0.970

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 118 observations.

{com}. ksmirnov majs_dem_Lag  if dems_num<=3 & dems_num>=-3  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.3762    0.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.3762    0.000      0.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 120 observations.

{com}. ksmirnov stproptax_inc  if dems_num<=3 & dems_num>=-3 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1313    0.359
{txt} 1:                {res} -0.1094    0.491
{txt} Combined K-S:     {res}  0.1313    0.685      0.630
{txt}
{com}. ksmirnov sttottax_inc  if dems_num<=3 & dems_num>=-3 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1157    0.427
{txt} 1:                {res} -0.1778    0.134
{txt} Combined K-S:     {res}  0.1778    0.267      0.230
{txt}
{com}. **************** 0.13  (Rep has higher vales than Rep)
. ksmirnov unemp  if dems_num<=3 & dems_num>=-3 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1533    0.224
{txt} 1:                {res} -0.0270    0.955
{txt} Combined K-S:     {res}  0.1533    0.444      0.393

{txt}Note: Ties exist in combined dataset;
      there are 61 unique values out of 128 observations.

{com}. ksmirnov midterm  if dems_num<=3 & dems_num>=-3  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0037    0.999
{txt} Combined K-S:     {res}  0.0037    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 128 observations.

{com}. ksmirnov stincpc_scaled  if dems_num<=3 & dems_num>=-3 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0683    0.743
{txt} 1:                {res} -0.1049    0.497
{txt} Combined K-S:     {res}  0.1049    0.875      0.827
{txt}
{com}. 
. ** Senate - 4 seat              
. ksmirnov majh_dem  if dems_num<=4 & dems_num>=-4 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1800    0.071
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1800    0.141      0.124

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 165 observations.

{com}. ksmirnov majh_dem_Lag  if dems_num<=4 & dems_num>=-4 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1880    0.066
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1880    0.132      0.112

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 155 observations.

{com}. **************** 0.07  (Rep has lower values than Rep)
. ksmirnov demgov  if dems_num<=4 & dems_num>=-4 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0231    0.957
{txt} Combined K-S:     {res}  0.0231    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 167 observations.

{com}. ksmirnov demgov_Lag2  if dems_num<=4 & dems_num>=-4 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0996    0.466
{txt} Combined K-S:     {res}  0.0996    0.839      0.791

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 155 observations.

{com}. ksmirnov majs_dem_Lag  if dems_num<=4 & dems_num>=-4 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.4444    0.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.4444    0.000      0.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 156 observations.

{com}. ksmirnov stproptax_inc  if dems_num<=4 & dems_num>=-4, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1299    0.269
{txt} 1:                {res} -0.1250    0.297
{txt} Combined K-S:     {res}  0.1299    0.528      0.476
{txt}
{com}. ksmirnov sttottax_inc  if dems_num<=4 & dems_num>=-4, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1313    0.239
{txt} 1:                {res} -0.1362    0.214
{txt} Combined K-S:     {res}  0.1362    0.425      0.380
{txt}
{com}. ksmirnov unemp  if dems_num<=4 & dems_num>=-4, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1304    0.244
{txt} 1:                {res} -0.0111    0.990
{txt} Combined K-S:     {res}  0.1304    0.480      0.433

{txt}Note: Ties exist in combined dataset;
      there are 68 unique values out of 167 observations.

{com}. ksmirnov midterm  if dems_num<=4 & dems_num>=-4 & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0251    0.949
{txt} Combined K-S:     {res}  0.0251    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 167 observations.

{com}. ksmirnov stincpc_scaled  if dems_num<=4 & dems_num>=-4 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1006    0.432
{txt} 1:                {res} -0.0356    0.900
{txt} Combined K-S:     {res}  0.1006    0.795      0.746
{txt}
{com}. 
. ** Senate - 5 seat              
. ksmirnov majh_dem  if dems_num<=5 & dems_num>=-5 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1522    0.089
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1522    0.178      0.156

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 209 observations.

{com}. ksmirnov majh_dem_Lag  if dems_num<=5 & dems_num>=-5 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1452    0.124
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1452    0.248      0.219

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 198 observations.

{com}. ksmirnov demgov  if dems_num<=5 & dems_num>=-5 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0155    0.975
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0155    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 211 observations.

{com}. ksmirnov demgov_Lag2  if dems_num<=5 & dems_num>=-5 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0670    0.643
{txt} Combined K-S:     {res}  0.0670    0.980      0.963

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 197 observations.

{com}. ksmirnov majs_dem_Lag  if dems_num<=5 & dems_num>=-5 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.4801    0.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.4801    0.000      0.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 199 observations.

{com}. ksmirnov stproptax_inc  if dems_num<=5 & dems_num>=-5, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0865    0.473
{txt} 1:                {res} -0.2268    0.006
{txt} Combined K-S:     {res}  0.2268    0.012      0.010
{txt}
{com}. **************** 0.01  (Rep has higher values than Rep)
. ksmirnov sttottax_inc  if dems_num<=5 & dems_num>=-5, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1057    0.308
{txt} 1:                {res} -0.0322    0.897
{txt} Combined K-S:     {res}  0.1057    0.598      0.548
{txt}
{com}. ksmirnov unemp  if dems_num<=5 & dems_num>=-5, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1410    0.123
{txt} 1:                {res} -0.0093    0.991
{txt} Combined K-S:     {res}  0.1410    0.245      0.216

{txt}Note: Ties exist in combined dataset;
      there are 70 unique values out of 211 observations.

{com}. ksmirnov midterm  if dems_num<=5 & dems_num>=-5 & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0155    0.975
{txt} Combined K-S:     {res}  0.0155    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 211 observations.

{com}. ksmirnov stincpc_scaled  if dems_num<=5 & dems_num>=-5 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1408    0.124
{txt} 1:                {res} -0.0294    0.913
{txt} Combined K-S:     {res}  0.1408    0.247      0.218
{txt}
{com}. 
. 
. 
. 
. 
. ** Senate - 1 percentage
. ksmirnov majh_dem  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0714    0.958
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0714    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 20 observations.

{com}. ksmirnov majh_dem_Lag  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2500    0.607
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2500    0.964      0.961

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 18 observations.

{com}. ksmirnov demgov  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.3810    0.296
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.3810    0.576      0.453

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 20 observations.

{com}. ksmirnov demgov_Lag2  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1154    0.896
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1154    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 19 observations.

{com}. ksmirnov majs_dem_Lag  if dems_pct<=0.51  &  dems_pct>=0.49  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.6026    0.051
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.6026    0.101      0.071

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 19 observations.

{com}. **************** 0.05  (Rep has lower values than Rep)
. ksmirnov stproptax_inc  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.3077    0.460
{txt} 1:                {res} -0.3590    0.347
{txt} Combined K-S:     {res}  0.3590    0.665      0.553
{txt}
{com}. ksmirnov sttottax_inc  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1667    0.792
{txt} 1:                {res} -0.4762    0.149
{txt} Combined K-S:     {res}  0.4762    0.297      0.227
{txt}
{com}. ksmirnov unemp  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0714    0.958
{txt} 1:                {res} -0.3333    0.393
{txt} Combined K-S:     {res}  0.3333    0.739      0.657

{txt}Note: Ties exist in combined dataset;
      there are 19 unique values out of 20 observations.

{com}. ksmirnov midterm  if dems_pct<=0.51  &  dems_pct>=0.49  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0000    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 20 observations.

{com}. ksmirnov stincpc_scaled  if dems_pct<=0.51  &  dems_pct>=0.49 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2857    0.504
{txt} 1:                {res} -0.1190    0.888
{txt} Combined K-S:     {res}  0.2857    0.883      0.811
{txt}
{com}. 
. 
. ** Senate - 2 percentage
. ksmirnov majh_dem  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1162    0.735
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1162    0.998      0.989

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 46 observations.

{com}. ksmirnov majh_dem_Lag  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0211    0.990
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0211    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 44 observations.

{com}. ksmirnov demgov  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2857    0.145
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2857    0.290      0.237

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 48 observations.

{com}. ksmirnov demgov_Lag2  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0147    0.995
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0147    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 47 observations.

{com}. ksmirnov majs_dem_Lag  if dems_pct<=0.52  &  dems_pct>=0.48  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2821    0.157
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.2821    0.314      0.254

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 47 observations.

{com}. ksmirnov stproptax_inc  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2454    0.247
{txt} 1:                {res} -0.1300    0.675
{txt} Combined K-S:     {res}  0.2454    0.486      0.404
{txt}
{com}. ksmirnov sttottax_inc  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1270    0.683
{txt} 1:                {res} -0.1587    0.551
{txt} Combined K-S:     {res}  0.1587    0.927      0.871
{txt}
{com}. ksmirnov unemp  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2328    0.278
{txt} 1:                {res} -0.1164    0.726
{txt} Combined K-S:     {res}  0.2328    0.544      0.466

{txt}Note: Ties exist in combined dataset;
      there are 37 unique values out of 48 observations.

{com}. ksmirnov midterm  if dems_pct<=0.52  &  dems_pct>=0.48  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0582    0.923
{txt} Combined K-S:     {res}  0.0582    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 48 observations.

{com}. ksmirnov stincpc_scaled  if dems_pct<=0.52  &  dems_pct>=0.48 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0106    0.997
{txt} 1:                {res} -0.3651    0.043
{txt} Combined K-S:     {res}  0.3651    0.086      0.064
{txt}
{com}. **************** 0.05  (Rep has higher values than Dem)
. 
. 
. ** Senate - 3 percentage
. ksmirnov majh_dem  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1310    0.485
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1310    0.862      0.802

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 85 observations.

{com}. ksmirnov majh_dem_Lag  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1069    0.633
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1069    0.976      0.950

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 80 observations.

{com}. ksmirnov demgov  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0801    0.757
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0801    0.999      0.996

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 87 observations.

{com}. ksmirnov demgov_Lag2  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0610    0.860
{txt} Combined K-S:     {res}  0.0610    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 81 observations.

{com}. ksmirnov majs_dem_Lag  if dems_pct<=0.53  &  dems_pct>=0.47  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.3512    0.006
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.3512    0.012      0.009

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 83 observations.

{com}. **************** 0.01  (Rep has lower values than Dem)
. ksmirnov stproptax_inc  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1614    0.336
{txt} 1:                {res} -0.1682    0.306
{txt} Combined K-S:     {res}  0.1682    0.594      0.527
{txt}
{com}. ksmirnov sttottax_inc  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1633    0.315
{txt} 1:                {res} -0.1066    0.611
{txt} Combined K-S:     {res}  0.1633    0.610      0.540
{txt}
{com}. ksmirnov unemp  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2646    0.048
{txt} 1:                {res} -0.0403    0.932
{txt} Combined K-S:     {res}  0.2646    0.096      0.076

{txt}Note: Ties exist in combined dataset;
      there are 52 unique values out of 87 observations.

{com}. ksmirnov midterm  if dems_pct<=0.53  &  dems_pct>=0.47  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0313    0.958
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0313    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 87 observations.

{com}. ksmirnov stincpc_scaled  if dems_pct<=0.53  &  dems_pct>=0.47 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1405    0.425
{txt} 1:                {res} -0.1320    0.470
{txt} Combined K-S:     {res}  0.1405    0.785      0.715
{txt}
{com}. 
. 
. ** Senate - 4 percentage
. ksmirnov majh_dem  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0924    0.648
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0924    0.982      0.964

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 104 observations.

{com}. ksmirnov majh_dem_Lag  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0766    0.752
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0766    0.999      0.995

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 98 observations.

{com}. ksmirnov demgov  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0384    0.926
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0384    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 106 observations.

{com}. ksmirnov demgov_Lag2  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0852    0.700
{txt} Combined K-S:     {res}  0.0852    0.994      0.987

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 99 observations.

{com}. ksmirnov majs_dem_Lag  if dems_pct<=0.54  &  dems_pct>=0.46  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.3475    0.003
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.3475    0.005      0.004

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 100 observations.

{com}. **************** 0.00  (Rep has lower values than Dem)
. ksmirnov stproptax_inc  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1988    0.137
{txt} 1:                {res} -0.0632    0.818
{txt} Combined K-S:     {res}  0.1988    0.273      0.234
{txt}
{com}. ksmirnov sttottax_inc  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1283    0.425
{txt} 1:                {res} -0.1319    0.404
{txt} Combined K-S:     {res}  0.1319    0.756      0.693
{txt}
{com}. ksmirnov unemp  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.2355    0.056
{txt} 1:                {res} -0.0268    0.963
{txt} Combined K-S:     {res}  0.2355    0.111      0.091

{txt}Note: Ties exist in combined dataset;
      there are 58 unique values out of 106 observations.

{com}. ksmirnov midterm  if dems_pct<=0.54  &  dems_pct>=0.46  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0051    0.999
{txt} Combined K-S:     {res}  0.0051    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 106 observations.

{com}. ksmirnov stincpc_scaled  if dems_pct<=0.54  &  dems_pct>=0.46 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0899    0.657
{txt} 1:                {res} -0.1181    0.484
{txt} Combined K-S:     {res}  0.1181    0.861      0.807
{txt}
{com}. 
. ** Senate - 5 percentage
. ksmirnov majh_dem  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0808    0.626
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0808    0.973      0.954

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 145 observations.

{com}. ksmirnov majh_dem_Lag  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1181    0.390
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1181    0.734      0.676

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 136 observations.

{com}. ksmirnov demgov  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0175    0.978
{txt} Combined K-S:     {res}  0.0175    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 147 observations.

{com}. ksmirnov demgov_Lag2  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0469    0.860
{txt} Combined K-S:     {res}  0.0469    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 138 observations.

{com}. ksmirnov majs_dem_Lag  if dems_pct<=0.55  &  dems_pct>=0.45  , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.4056    0.000
{txt} 1:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.4056    0.000      0.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 139 observations.

{com}. **************** 0.00  (Rep has lower values than Dem)
. ksmirnov stproptax_inc  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1591    0.175
{txt} 1:                {res} -0.0929    0.552
{txt} Combined K-S:     {res}  0.1591    0.347      0.305
{txt}
{com}. ksmirnov sttottax_inc  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0931    0.532
{txt} 1:                {res} -0.1047    0.450
{txt} Combined K-S:     {res}  0.1047    0.819      0.768
{txt}
{com}. ksmirnov unemp  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.1651    0.137
{txt} 1:                {res} -0.0205    0.970
{txt} Combined K-S:     {res}  0.1651    0.273      0.238

{txt}Note: Ties exist in combined dataset;
      there are 63 unique values out of 147 observations.

{com}. ksmirnov midterm  if dems_pct<=0.55  &  dems_pct>=0.45  & election_les==1, by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0000    1.000
{txt} 1:                {res} -0.0571    0.788
{txt} Combined K-S:     {res}  0.0571    1.000      1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 147 observations.

{com}. ksmirnov stincpc_scaled  if dems_pct<=0.55  &  dems_pct>=0.45 , by(majs_dem) e

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value      Exact
 {hline 46}
 0:                {res}  0.0647    0.737
{txt} 1:                {res} -0.0933    0.530
{txt} Combined K-S:     {res}  0.0933    0.909      0.869
{txt}
{com}. 
. 
. 
. 
. 
. 
. 
. 
. 
. *************** TABLE A3 APPENDIX larger windows *************************
. 
. ttest majh_dem_Next  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .44{col 34} .1013246{col 46} .5066228{col 58} .2308764{col 70} .6491236
       {txt}1 {c |}{res}{col 12}     17{col 22} .5882353{col 34} .1230382{col 46} .5072997{col 58} .3274059{col 70} .8490647
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     42{col 22}       .5{col 34} .0780869{col 46} .5060608{col 58} .3423003{col 70} .6576997
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1482353{col 34} .1593897{col 58}-.4719859{col 70} .1755153
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9300
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 34.4865

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1794         {txt}Pr(|T| > |t|) = {res}0.3588          {txt}Pr(T > t) = {res}0.8206
{txt}
{com}. *Rep 0.44; Dem 0.59; diff 0.15   p:0.36
. ttest majh_dem_Next  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     33{col 22} .4242424{col 34} .0873679{col 46} .5018904{col 58} .2462798{col 70}  .602205
       {txt}1 {c |}{res}{col 12}     25{col 22}      .56{col 34} .1013246{col 46} .5066228{col 58} .3508764{col 70} .7691236
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     58{col 22} .4827586{col 34} .0661872{col 46} .5040669{col 58}  .350221{col 70} .6152963
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1357576{col 34} .1337902{col 58}-.4042802{col 70}  .132765
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0147
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 51.5729

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1575         {txt}Pr(|T| > |t|) = {res}0.3150          {txt}Pr(T > t) = {res}0.8425
{txt}
{com}. *Rep 0.42; Dem 0.56; diff 0.14   p:0.31
. 
. 
. ttest majh_dem_Next  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     24{col 22} .5833333{col 34}  .102799{col 46} .5036102{col 58} .3706774{col 70} .7959893
       {txt}1 {c |}{res}{col 12}     26{col 22}       .5{col 34}       .1{col 46}  .509902{col 58} .2940461{col 70} .7059539
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22}      .54{col 34} .0711996{col 46} .5034574{col 58}  .396919{col 70}  .683081
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0833333{col 34} .1434142{col 58} -.205056{col 70} .3717227
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5811
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 47.7704

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7180         {txt}Pr(|T| > |t|) = {res}0.5639          {txt}Pr(T > t) = {res}0.2820
{txt}
{com}. *Rep 0.58; Dem 0.5; diff -0.08   p:0.56
. ttest majh_dem_Next  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     36{col 22} .5277778{col 34} .0843849{col 46} .5063094{col 58} .3564673{col 70} .6990882
       {txt}1 {c |}{res}{col 12}     41{col 22} .5609756{col 34} .0784669{col 46} .5024331{col 58} .4023882{col 70} .7195631
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     77{col 22} .5454545{col 34} .0571164{col 46} .5011947{col 58} .4316973{col 70} .6592118
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0331978{col 34} .1152296{col 58}-.2628203{col 70} .1964246
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2881
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 73.5671

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3870         {txt}Pr(|T| > |t|) = {res}0.7741          {txt}Pr(T > t) = {res}0.6130
{txt}
{com}. *Rep 0.53; Dem 0.56; diff 0.03   p:0.77
. 
. ttest majs_dem_Next  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}       .4{col 34}       .1{col 46}       .5{col 58} .1936101{col 70} .6063899
       {txt}1 {c |}{res}{col 12}     17{col 22} .4705882{col 34} .1247835{col 46} .5144958{col 58} .2060589{col 70} .7351175
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     42{col 22} .4285714{col 34}  .077286{col 46} .5008703{col 58} .2724892{col 70} .5846536
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0705882{col 34} .1599091{col 58}-.3956178{col 70} .2544413
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4414
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 33.8443

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3309         {txt}Pr(|T| > |t|) = {res}0.6617          {txt}Pr(T > t) = {res}0.6691
{txt}
{com}. ttest majs_dem_Next  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     33{col 22} .4242424{col 34} .0873679{col 46} .5018904{col 58} .2462798{col 70}  .602205
       {txt}1 {c |}{res}{col 12}     25{col 22}      .48{col 34} .1019804{col 46}  .509902{col 58} .2695228{col 70} .6904772
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     58{col 22} .4482759{col 34} .0658713{col 46} .5016609{col 58} .3163709{col 70} .5801809
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0557576{col 34} .1342876{col 58}-.3253009{col 70} .2137858
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4152
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 51.3943

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3399         {txt}Pr(|T| > |t|) = {res}0.6797          {txt}Pr(T > t) = {res}0.6601
{txt}
{com}. 
. ttest majs_dem_Next  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     24{col 22}     .375{col 34} .1009466{col 46} .4945354{col 58}  .166176{col 70}  .583824
       {txt}1 {c |}{res}{col 12}     26{col 22} .3461538{col 34} .0951486{col 46} .4851645{col 58} .1501917{col 70}  .542116
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22}      .36{col 34} .0685714{col 46} .4848732{col 58} .2222006{col 70} .4977994
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0288462{col 34} .1387208{col 58}-.2501441{col 70} .3078364
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2079
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 47.5168

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5819         {txt}Pr(|T| > |t|) = {res}0.8362          {txt}Pr(T > t) = {res}0.4181
{txt}
{com}. ttest majs_dem_Next  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     36{col 22} .3333333{col 34} .0796819{col 46} .4780914{col 58} .1715705{col 70} .4950962
       {txt}1 {c |}{res}{col 12}     41{col 22} .3902439{col 34} .0771287{col 46} .4938648{col 58} .2343609{col 70} .5461269
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     77{col 22} .3636364{col 34} .0551797{col 46} .4842001{col 58} .2537364{col 70} .4735363
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0569106{col 34} .1108966{col 58}-.2778637{col 70} .1640425
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5132
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 74.2656

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3047         {txt}Pr(|T| > |t|) = {res}0.6093          {txt}Pr(T > t) = {res}0.6953
{txt}
{com}. 
. ttest demgov_Next  if demh_num<=3 & demh_num>=-3 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     25{col 22}      .36{col 34} .0979796{col 46} .4898979{col 58} .1577801{col 70} .5622199
       {txt}1 {c |}{res}{col 12}     17{col 22} .4705882{col 34} .1247835{col 46} .5144958{col 58} .2060589{col 70} .7351175
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     42{col 22} .4047619{col 34} .0766573{col 46} .4967958{col 58} .2499494{col 70} .5595744
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1105882{col 34} .1586535{col 58}-.4332398{col 70} .2120633
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6970
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 33.3577

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2453         {txt}Pr(|T| > |t|) = {res}0.4906          {txt}Pr(T > t) = {res}0.7547
{txt}
{com}. ttest demgov_Next  if demh_num<=4 & demh_num>=-4 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     33{col 22} .4242424{col 34} .0873679{col 46} .5018904{col 58} .2462798{col 70}  .602205
       {txt}1 {c |}{res}{col 12}     25{col 22}      .44{col 34} .1013246{col 46} .5066228{col 58} .2308764{col 70} .6491236
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     58{col 22} .4310345{col 34} .0655936{col 46} .4995461{col 58} .2996855{col 70} .5623834
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0157576{col 34} .1337902{col 58}-.2842802{col 70}  .252765
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1178
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 51.5729

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4534         {txt}Pr(|T| > |t|) = {res}0.9067          {txt}Pr(T > t) = {res}0.5466
{txt}
{com}. 
. ttest demgov_Next  if demh_pct<=0.52 & demh_pct>=0.48 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     24{col 22} .3333333{col 34} .0982946{col 46} .4815434{col 58} .1299954{col 70} .5366713
       {txt}1 {c |}{res}{col 12}     26{col 22} .3846154{col 34} .0973009{col 46} .4961389{col 58} .1842205{col 70} .5850102
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     50{col 22}      .36{col 34} .0685714{col 46} .4848732{col 58} .2222006{col 70} .4977994
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0512821{col 34} .1383087{col 58}-.3293896{col 70} .2268255
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3708
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 47.8712

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3562         {txt}Pr(|T| > |t|) = {res}0.7124          {txt}Pr(T > t) = {res}0.6438
{txt}
{com}. ttest demgov_Next  if demh_pct<=0.53 & demh_pct>=0.47 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     36{col 22} .3888889{col 34} .0824022{col 46} .4944132{col 58} .2216035{col 70} .5561743
       {txt}1 {c |}{res}{col 12}     40{col 22}     .425{col 34} .0791582{col 46} .5006406{col 58} .2648874{col 70} .5851126
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     76{col 22} .4078947{col 34}  .056747{col 46} .4947088{col 58} .2948489{col 70} .5209406
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0361111{col 34} .1142635{col 58}-.2638198{col 70} .1915976
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3160
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 73.3473

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3764         {txt}Pr(|T| > |t|) = {res}0.7529          {txt}Pr(T > t) = {res}0.6236
{txt}
{com}. 
. 
. 
. 
. 
. 
. 
. 
. 
. *************** TABLE A4 APPENDIX Down-stream majority advantage *************************
. 
. ** t+2 **
. ttest majh_dem_Next2  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     13{col 22} .6153846{col 34} .1404417{col 46} .5063697{col 58} .3093885{col 70} .9213808
       {txt}1 {c |}{res}{col 12}     12{col 22}       .5{col 34} .1507557{col 46}  .522233{col 58}  .168189{col 70}  .831811
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     25{col 22}      .56{col 34} .1013246{col 46} .5066228{col 58} .3508764{col 70} .7691236
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1153846{col 34} .2060367{col 58}-.3111434{col 70} .5419126
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5600
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.7032

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7095         {txt}Pr(|T| > |t|) = {res}0.5810          {txt}Pr(T > t) = {res}0.2905
{txt}
{com}. * -0.11  p0.58  12/13
. ttest majh_dem_Next2  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .7272727{col 34} .1408358{col 46} .4670994{col 58} .4134711{col 70} 1.041074
       {txt}1 {c |}{res}{col 12}     10{col 22}       .7{col 34} .1527525{col 46} .4830459{col 58} .3544498{col 70}  1.04555
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .7142857{col 34} .1010153{col 46}   .46291{col 58} .5035716{col 70} .9249998
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0272727{col 34} .2077692{col 58}-.4081212{col 70} .4626667
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1313
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 18.6655

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5515         {txt}Pr(|T| > |t|) = {res}0.8970          {txt}Pr(T > t) = {res}0.4485
{txt}
{com}. *-0.03  p 0.90  11/10
. rdrobust majh_dem_Next2 demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       778
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      264{col 34}      514{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}       89{col 34}       89{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.068{col 34}    0.068
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.117{col 34}    0.117
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.583{col 34}    0.583

Outcome: majh_dem_Next2. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.17037{col 33} .17664{col 43}-0.9645{col 52}0.335{col 60}-.516586{col 73} .175843
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-1.0761{col 52}0.282{col 60}-.634567{col 73} .184725
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.15  p 0.24 103/105
. 
. ** t+3 **
. ttest majh_dem_Next3  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     13{col 22} .4615385{col 34} .1439099{col 46} .5188745{col 58} .1479857{col 70} .7750912
       {txt}1 {c |}{res}{col 12}     12{col 22} .3333333{col 34} .1421338{col 46}  .492366{col 58} .0204989{col 70} .6461677
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     25{col 22}       .4{col 34}       .1{col 46}       .5{col 58} .1936101{col 70} .6063899
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1282051{col 34} .2022673{col 58}-.2902391{col 70} .5466494
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6338
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.9778

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7338         {txt}Pr(|T| > |t|) = {res}0.5324          {txt}Pr(T > t) = {res}0.2662
{txt}
{com}. *-0.12  p 0.53 12/13
. ttest majh_dem_Next3  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .5454545{col 34} .1574592{col 46}  .522233{col 58} .1946137{col 70} .8962954
       {txt}1 {c |}{res}{col 12}     10{col 22}       .6{col 34} .1632993{col 46} .5163978{col 58} .2305913{col 70} .9694087
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .5714286{col 34} .1106567{col 46} .5070926{col 58} .3406028{col 70} .8022543
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0545455{col 34} .2268481{col 58}-.5295995{col 70} .4205086
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2404
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 18.8502

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4063         {txt}Pr(|T| > |t|) = {res}0.8126          {txt}Pr(T > t) = {res}0.5937
{txt}
{com}. * 0.05  p 0.82 10/11
. rdrobust majh_dem_Next3 demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       740
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      247{col 34}      493{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}       90{col 34}       87{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.071{col 34}    0.071
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.122{col 34}    0.122
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.583{col 34}    0.583

Outcome: majh_dem_Next3. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.18981{col 33} .17209{col 43}-1.1030{col 52}0.270{col 60}-.527102{col 73} .147474
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-1.1751{col 52}0.240{col 60} -.64537{col 73} .161564
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.17  p 0.25 102/104
. 
. ** t+4 **
. ttest majh_dem_Next4  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     13{col 22} .3846154{col 34} .1404417{col 46} .5063697{col 58} .0786192{col 70} .6906115
       {txt}1 {c |}{res}{col 12}     12{col 22}      .25{col 34} .1305582{col 46}  .452267{col 58}-.0373568{col 70} .5373568
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     25{col 22}      .32{col 34}  .095219{col 46} .4760952{col 58} .1234775{col 70} .5165225
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1346154{col 34} .1917533{col 58}-.2620755{col 70} .5313062
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.7020
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.9801

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7551         {txt}Pr(|T| > |t|) = {res}0.4897          {txt}Pr(T > t) = {res}0.2449
{txt}
{com}. * -0.13  p 0.49  12/13
. ttest majh_dem_Next4  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .5454545{col 34} .1574592{col 46}  .522233{col 58} .1946137{col 70} .8962954
       {txt}1 {c |}{res}{col 12}     10{col 22}       .5{col 34} .1666667{col 46} .5270463{col 58} .1229738{col 70} .8770262
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     21{col 22} .5238095{col 34} .1116766{col 46} .5117663{col 58} .2908563{col 70} .7567628
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0454545{col 34}  .229284{col 58}-.4348326{col 70} .5257417
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1982
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 18.7747

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5775         {txt}Pr(|T| > |t|) = {res}0.8450          {txt}Pr(T > t) = {res}0.4225
{txt}
{com}. * -0.04  p 0.84  10/11
. rdrobust majh_dem_Next4 demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       701
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      226{col 34}      475{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      105{col 34}      114{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.093{col 34}    0.093
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.145{col 34}    0.145
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.644{col 34}    0.644

Outcome: majh_dem_Next4. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.13825{col 33} .14727{col 43}-0.9388{col 52}0.348{col 60}-.426889{col 73} .150389
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.8009{col 52}0.423{col 60}-.496276{col 73} .208343
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.14  p 0.40  113/140
. 
. ** t+5 **
. ttest majh_dem_Next5  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22}       .5{col 34} .1507557{col 46}  .522233{col 58}  .168189{col 70}  .831811
       {txt}1 {c |}{res}{col 12}     10{col 22}       .3{col 34} .1527525{col 46} .4830459{col 58}-.0455502{col 70} .6455502
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     22{col 22} .4090909{col 34} .1072903{col 46} .5032363{col 58} .1859684{col 70} .6322134
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}       .2{col 34} .2146173{col 58}-.2480554{col 70} .6480554
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9319
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.7446

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8187         {txt}Pr(|T| > |t|) = {res}0.3626          {txt}Pr(T > t) = {res}0.1813
{txt}
{com}. * -0.20  p 0.36  12/10
. ttest majh_dem_Next5  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} .4545455{col 34} .1574592{col 46}  .522233{col 58} .1037046{col 70} .8053863
       {txt}1 {c |}{res}{col 12}      8{col 22}     .375{col 34} .1829813{col 46} .5175492{col 58}-.0576819{col 70} .8076819
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     19{col 22} .4210526{col 34} .1163728{col 46} .5072573{col 58} .1765625{col 70} .6655428
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0795455{col 34} .2414033{col 58}-.4340487{col 70} .5931396
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3295
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 15.3236

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6269         {txt}Pr(|T| > |t|) = {res}0.7462          {txt}Pr(T > t) = {res}0.3731
{txt}
{com}. * -0.08  p 0.74  8/11
. rdrobust majh_dem_Next demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       817
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      285{col 34}      532{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      132{col 34}      145{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.099{col 34}    0.099
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.168{col 34}    0.168
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.587{col 34}    0.587

Outcome: majh_dem_Next. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.05841{col 33} .15025{col 43}-0.3888{col 52}0.697{col 60}-.352893{col 73} .236063
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.6251{col 52}0.532{col 60}-.461214{col 73} .238168
{txt}{hline 19}{c BT}{hline 60}

{com}. * -0.05  p 0.50  143/166
. 
. 
. 
. 
. 
. 
. ****************** TABLE A5 APPENDIX Economic Outcomes**********************************
. 
. 
. 
. ttest unemp_Next  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22} 5.278571{col 34} .3148658{col 46}  1.17812{col 58} 4.598345{col 70} 5.958798
       {txt}1 {c |}{res}{col 12}     12{col 22}    5.425{col 34} .4241078{col 46} 1.469153{col 58} 4.491545{col 70} 6.358455
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} 5.346154{col 34} .2539673{col 46} 1.294984{col 58} 4.823098{col 70} 5.869209
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1464286{col 34}  .528212{col 58} -1.24473{col 70} .9518726
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2772
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 21.0553

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3922         {txt}Pr(|T| > |t|) = {res}0.7843          {txt}Pr(T > t) = {res}0.6078
{txt}
{com}. *Rep 5.3 Dem 5.4; diff 0.14 p: 0.78
. ttest unemp_Next  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} 5.683333{col 34} .6037551{col 46} 2.091469{col 58} 4.354477{col 70} 7.012189
       {txt}1 {c |}{res}{col 12}     11{col 22}      5.6{col 34} .5557959{col 46} 1.843367{col 58}  4.36161{col 70} 6.838391
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} 5.643478{col 34} .4028959{col 46} 1.932221{col 58} 4.807923{col 70} 6.479033
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0833333{col 34} .8206274{col 58}-1.623382{col 70} 1.790049
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1015
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 20.9743

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5400         {txt}Pr(|T| > |t|) = {res}0.9201          {txt}Pr(T > t) = {res}0.4600
{txt}
{com}. *Rep 5.7; Dem 5.6; diff -0.08  p:0.92
. rdrobust unemp_Next demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      121{col 34}      123{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.084{col 34}    0.084
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.172{col 34}    0.172
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.487{col 34}    0.487

Outcome: unemp_Next. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.40833{col 33} .56042{col 43}-0.7286{col 52}0.466{col 60}-1.50674{col 73} .690068
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.9833{col 52}0.325{col 60}-1.86572{col 73} .619115
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.11 p: 0.54
. 
. ttest sttottax_inc_Next  if demh_num<=2 & demh_num>=-2 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     14{col 22} 5.322016{col 34} .2845444{col 46} 1.064668{col 58} 4.707295{col 70} 5.936737
       {txt}1 {c |}{res}{col 12}     12{col 22} 4.723324{col 34}  .217768{col 46} .7543704{col 58}  4.24402{col 70} 5.202628
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} 5.045697{col 34} .1893778{col 46} .9656412{col 58} 4.655666{col 70} 5.435727
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .5986921{col 34} .3583133{col 58}-.1420798{col 70} 1.339464
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.6709
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.2585

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9459         {txt}Pr(|T| > |t|) = {res}0.1082          {txt}Pr(T > t) = {res}0.0541
{txt}
{com}. * Rep 5.3 Dem 4.7; diff -0.60 p: 0.12
. ttest sttottax_inc_Next  if demh_pct<=0.51 & demh_pct>=0.49 , by(majh_dem) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     12{col 22} 5.196945{col 34} .3151719{col 46} 1.091787{col 58} 4.503257{col 70} 5.890634
       {txt}1 {c |}{res}{col 12}     11{col 22} 5.179445{col 34} .3411975{col 46} 1.131624{col 58}  4.41921{col 70}  5.93968
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     23{col 22} 5.188576{col 34} .2263278{col 46}  1.08543{col 58} 4.719201{col 70} 5.657951
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0175004{col 34} .4644879{col 58}-.9494037{col 70} .9844045
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0377
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  20.667

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5148         {txt}Pr(|T| > |t|) = {res}0.9703          {txt}Pr(T > t) = {res}0.4852
{txt}
{com}. *Rep 5.20; Dem 5.18; diff -0.02  p:0.97
. rdrobust sttottax_inc_Next demh_pct2 , c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      310{col 34}      554{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      142{col 34}      154{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.099{col 34}    0.099
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.168{col 34}    0.168
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.588{col 34}    0.588

Outcome: sttottax_inc_Next. Running variable: demh_pct2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res}-.19674{col 33} .27778{col 43}-0.7083{col 52}0.479{col 60}-.741176{col 73}  .34769
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}-0.7636{col 52}0.445{col 60}-.915065{col 73} .401935
{txt}{hline 19}{c BT}{hline 60}

{com}. *-0.2 p: 0.39
. 
. 
. 
. 
. *********** TABLE  A6 - APPENDIX Governor Strength at the House  *************
. 
. gen majh_gov=1 if (majh_dem==1 & demgov==1) | (majh_dem==0 & repgov==1)
{txt}(398 missing values generated)

{com}. replace majh_gov=0 if majh_gov==.
{txt}(398 real changes made)

{com}. sort stabbr year 
{txt}
{com}. by stabbr: gen majh_gov_Next=majh_gov[_n+1]
{txt}(40 missing values generated)

{com}. by stabbr: gen majh_gov_Lag=majh_gov[_n-1]
{txt}(40 missing values generated)

{com}. by stabbr: gen majh_gov_Lag2=majh_gov[_n-2]
{txt}(80 missing values generated)

{com}. 
. 
. gen     gov_str_num=demh-reph if demgov==1
{txt}(432 missing values generated)

{com}. replace gov_str_num=reph-demh if repgov==1
{txt}(392 real changes made)

{com}. *replace gov_str_num=. if gov_str_num==0
. /* results for tax are robust including ties as above for majorties of 2.*/
. 
. *** Gov strength in the House  as continuous variable
. gen gov_strengthh2=gov_strengthh if demh_pct2~=.
{txt}(47 missing values generated)

{com}. gen gov_str_num2=gov_str_num if demh_pct2~=.
{txt}(47 missing values generated)

{com}. 
. 
. 
. *********** TABLE  A6 
. ttest sttottax_inc_Next  if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} 4.874483{col 34}  .189903{col 46} .8907239{col 58} 4.479558{col 70} 5.269408
       {txt}1 {c |}{res}{col 12}     11{col 22} 5.468303{col 34} .2506666{col 46}  .831367{col 58} 4.909783{col 70} 6.026822
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} 5.072423{col 34} .1573899{col 46} .9041359{col 58}  4.75183{col 70} 5.393016
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.5938193{col 34} .3144787{col 58}-1.247045{col 70} .0594061
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.8883
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  21.414

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0363         {txt}Pr(|T| > |t|) = {res}0.0726          {txt}Pr(T > t) = {res}0.9637
{txt}
{com}. * 0.59  p 0.07 ****
. ttest sttottax_inc_Next  if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} 5.119005{col 34} .2434516{col 46} 1.003777{col 58} 4.602911{col 70}   5.6351
       {txt}1 {c |}{res}{col 12}     13{col 22} 5.214845{col 34} .2179689{col 46} .7858979{col 58} 4.739932{col 70} 5.689758
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22} 5.160536{col 34} .1647024{col 46}  .902112{col 58} 4.823682{col 70}  5.49739
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0958397{col 34} .3267707{col 58}-.7652322{col 70} .5735528
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2933
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 27.9694

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3857         {txt}Pr(|T| > |t|) = {res}0.7715          {txt}Pr(T > t) = {res}0.6143
{txt}
{com}. * 0.09 p 0.78 
. rdrobust sttottax_inc_Next gov_strengthh2, c(0.5)
{res}
Sharp RD estimates using local polynomial regression.

{txt}{ralign 18: Cutoff c = .5}{col 19} {c |} {col 21}Left of {res}c{col 33}{txt}Right of {res}c{col 55}{txt}Number of obs = {res}       864
{txt}{hline 19}{c +}{hline 22}{col 55}BW type       = {res}{ralign 10:mserd}
{txt}{ralign 18:Number of obs}{col 19} {c |} {col 21}{res}      337{col 34}      527{col 55}{txt}Kernel        = {res}{ralign 10:Triangular}
{txt}{ralign 18:Eff. Number of obs}{col 19} {c |} {col 21}{res}      108{col 34}      121{col 55}{txt}VCE method    = {res}{ralign 10:NN}
{txt}{ralign 18:Order est. (p)}{col 19} {c |} {col 21}{res}        1{col 34}        1
{txt}{ralign 18:Order bias (q)}{col 19} {c |} {col 21}{res}        2{col 34}        2
{txt}{ralign 18:BW est. (h)}{col 19} {c |} {col 21}{res}    0.079{col 34}    0.079
{txt}{ralign 18:BW bias (b)}{col 19} {c |} {col 21}{res}    0.135{col 34}    0.135
{txt}{ralign 18:rho (h/b)}{col 19} {c |} {col 21}{res}    0.583{col 34}    0.583

Outcome: sttottax_inc_Next. Running variable: gov_strengthh2.
{txt}{hline 19}{c TT}{hline 60}
{ralign 18:Method}{col 19} {c |} {col 24}Coef.{col 33}Std. Err.{col 46}z{col 52}P>|z|{col 61}[95% Conf. Interval]
{hline 19}{c +}{hline 60}
{ralign 18:Conventional}{col 19} {c |} {col 22}{res} .65428{col 33} .27726{col 43}2.3598{col 52}0.018{col 60} .110851{col 73} 1.19771
{txt}{ralign 18:Robust}{col 19} {c |} {col 22}{res}    -{col 33}    -{col 43}2.3596{col 52}0.018{col 60} .129058{col 73} 1.39493
{txt}{hline 19}{c BT}{hline 60}

{com}.  *0.60 p 0.02 ***
. 
. 
. 
. 
. 
. 
. 
. ***** control tests
. 
. ttest demgov  if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .5909091{col 34} .1072903{col 46} .5032363{col 58} .3677866{col 70} .8140316
       {txt}1 {c |}{res}{col 12}     11{col 22} .3636364{col 34}   .15212{col 46}  .504525{col 58} .0246919{col 70} .7025809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} .5151515{col 34} .0883478{col 46} .5075192{col 58}  .335193{col 70}   .69511
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2272727{col 34} .1861497{col 58}-.1609546{col 70}    .6155
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2209
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 20.0598

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8819         {txt}Pr(|T| > |t|) = {res}0.2363          {txt}Pr(T > t) = {res}0.1181
{txt}
{com}. *0.22  p 0.23
. ttest majh_gov_Lag  if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     19{col 22} .4210526{col 34} .1163728{col 46} .5072573{col 58} .1765625{col 70} .6655428
       {txt}1 {c |}{res}{col 12}     10{col 22}       .3{col 34} .1527525{col 46} .4830459{col 58}-.0455502{col 70} .6455502
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     29{col 22} .3793103{col 34} .0916971{col 46}  .493804{col 58} .1914774{col 70} .5671433
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1210526{col 34} .1920311{col 58}-.2805361{col 70} .5226414
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6304
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.2386

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7321         {txt}Pr(|T| > |t|) = {res}0.5359          {txt}Pr(T > t) = {res}0.2679
{txt}
{com}. *0.52 p 0.54
. ttest majh_dem  if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     15{col 22} .5333333{col 34} .1333333{col 46} .5163978{col 58} .2473618{col 70} .8193049
       {txt}1 {c |}{res}{col 12}     11{col 22} .3636364{col 34}   .15212{col 46}  .504525{col 58} .0246919{col 70} .7025809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     26{col 22} .4615385{col 34} .0997037{col 46} .5083911{col 58} .2561948{col 70} .6668821
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .169697{col 34} .2022827{col 58}-.2498175{col 70} .5892114
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8389
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 21.9947

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7947         {txt}Pr(|T| > |t|) = {res}0.4105          {txt}Pr(T > t) = {res}0.2053
{txt}
{com}. *0.46 p 0.41
. ttest majs_dem  if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .5454545{col 34} .1086571{col 46} .5096472{col 58} .3194896{col 70} .7714195
       {txt}1 {c |}{res}{col 12}     11{col 22} .4545455{col 34} .1574592{col 46}  .522233{col 58} .1037046{col 70} .8053863
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} .5151515{col 34} .0883478{col 46} .5075192{col 58}  .335193{col 70}   .69511
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0909091{col 34} .1913106{col 58}-.3085906{col 70} .4904088
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4752
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.6677

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6801         {txt}Pr(|T| > |t|) = {res}0.6399          {txt}Pr(T > t) = {res}0.3199
{txt}
{com}. *0.51 p 0.62
. ttest stproptax_inc   if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     19{col 22}  3.96097{col 34} .3266539{col 46} 1.423851{col 58} 3.274696{col 70} 4.647245
       {txt}1 {c |}{res}{col 12}     10{col 22} 3.954275{col 34} .3114204{col 46} .9847978{col 58} 3.249793{col 70} 4.658756
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     29{col 22} 3.958661{col 34} .2359894{col 46} 1.270842{col 58} 3.475259{col 70} 4.442064
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0066958{col 34} .4513152{col 58}-.9233192{col 70} .9367108
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0148
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 24.7305

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5059         {txt}Pr(|T| > |t|) = {res}0.9883          {txt}Pr(T > t) = {res}0.4941
{txt}
{com}. * 0.98
. ttest sttottax_inc   if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} 4.857388{col 34} .2417627{col 46} 1.133967{col 58} 4.354615{col 70} 5.360161
       {txt}1 {c |}{res}{col 12}     11{col 22} 5.336223{col 34} .2795197{col 46} .9270621{col 58} 4.713414{col 70} 5.959032
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22}    5.017{col 34} .1878894{col 46} 1.079343{col 58} 4.634281{col 70} 5.399718
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.4788354{col 34} .3695679{col 58}-1.241372{col 70}  .283701
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2957
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 24.1282

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1037         {txt}Pr(|T| > |t|) = {res}0.2074          {txt}Pr(T > t) = {res}0.8963
{txt}
{com}. *0.23
. ttest unemp   if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} 5.590909{col 34}  .324665{col 46} 1.522814{col 58} 4.915731{col 70} 6.266087
       {txt}1 {c |}{res}{col 12}     11{col 22} 5.518182{col 34} .5514969{col 46} 1.829108{col 58}  4.28937{col 70} 6.746993
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} 5.566667{col 34} .2789885{col 46} 1.602667{col 58} 4.998386{col 70} 6.134948
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0727272{col 34} .6399657{col 58}-1.276575{col 70} 1.422029
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1136
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 17.1514

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5446         {txt}Pr(|T| > |t|) = {res}0.9108          {txt}Pr(T > t) = {res}0.4554
{txt}
{com}. *0.90 
. ttest midterm  if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .3636364{col 34} .1049728{col 46}  .492366{col 58} .1453335{col 70} .5819392
       {txt}1 {c |}{res}{col 12}     11{col 22} .4545455{col 34} .1574592{col 46}  .522233{col 58} .1037046{col 70} .8053863
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} .3939394{col 34} .0863769{col 46} .4961977{col 58} .2179954{col 70} .5698834
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0909091{col 34} .1892424{col 58} -.486899{col 70} .3050808
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4804
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.0704

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3182         {txt}Pr(|T| > |t|) = {res}0.6364          {txt}Pr(T > t) = {res}0.6818
{txt}
{com}. *0.63
. ttest stincpc_scaled if gov_str_num<=2 & gov_str_num>=-2 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} 11.32977{col 34} .6844765{col 46} 3.210479{col 58} 9.906321{col 70} 12.75321
       {txt}1 {c |}{res}{col 12}     11{col 22} 12.69764{col 34} .8056855{col 46} 2.672156{col 58} 10.90246{col 70} 14.49282
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} 11.78572{col 34} .5344001{col 46} 3.069895{col 58} 10.69719{col 70} 12.87426
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.367869{col 34} 1.057184{col 58}-3.550994{col 70} .8152558
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2939
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.7523

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1041         {txt}Pr(|T| > |t|) = {res}0.2081          {txt}Pr(T > t) = {res}0.8959
{txt}
{com}. *0.23   
. 
. 
. ttest demgov  if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} .4705882{col 34} .1247835{col 46} .5144958{col 58} .2060589{col 70} .7351175
       {txt}1 {c |}{res}{col 12}     13{col 22} .3076923{col 34} .1332347{col 46} .4803845{col 58} .0173989{col 70} .5979857
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22}       .4{col 34} .0909718{col 46} .4982729{col 58} .2139418{col 70} .5860582
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1628959{col 34} .1825443{col 58}-.2117766{col 70} .5375685
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8924
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.8125

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8099         {txt}Pr(|T| > |t|) = {res}0.3801          {txt}Pr(T > t) = {res}0.1901
{txt}
{com}. *0.16 p 0.38 
. ttest majh_gov_Lag  if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} .4117647{col 34} .1230382{col 46} .5072997{col 58} .1509353{col 70} .6725941
       {txt}1 {c |}{res}{col 12}     13{col 22} .3846154{col 34} .1404417{col 46} .5063697{col 58} .0786192{col 70} .6906115
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22}       .4{col 34} .0909718{col 46} .4982729{col 58} .2139418{col 70} .5860582
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0271493{col 34} .1867144{col 58}-.3566465{col 70} .4109452
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1454
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.0016

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5572         {txt}Pr(|T| > |t|) = {res}0.8855          {txt}Pr(T > t) = {res}0.4428
{txt}
{com}. * 0.03 p 0.88
. ttest majh_dem  if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} .5294118{col 34} .1247835{col 46} .5144958{col 58} .2648825{col 70} .7939411
       {txt}1 {c |}{res}{col 12}     13{col 22} .3076923{col 34} .1332347{col 46} .4803845{col 58} .0173989{col 70} .5979857
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22} .4333333{col 34} .0920187{col 46} .5040069{col 58} .2451341{col 70} .6215326
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2217195{col 34} .1825443{col 58}-.1529531{col 70}  .596392
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2146
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.8125

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8824         {txt}Pr(|T| > |t|) = {res}0.2351          {txt}Pr(T > t) = {res}0.1176
{txt}
{com}. *0.22  p 0.24
. ttest majs_dem  if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} .2352941{col 34} .1060456{col 46} .4372373{col 58} .0104874{col 70} .4601008
       {txt}1 {c |}{res}{col 12}     13{col 22} .2307692{col 34} .1216261{col 46}  .438529{col 58}-.0342312{col 70} .4957697
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22} .2333333{col 34} .0785403{col 46} .4301831{col 58} .0727003{col 70} .3939663
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0045249{col 34} .1613647{col 58}-.3272039{col 70} .3362536
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0280
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 25.9376

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5111         {txt}Pr(|T| > |t|) = {res}0.9778          {txt}Pr(T > t) = {res}0.4889
{txt}
{com}. *0.00  p 0.98
. 
. ttest stproptax_inc   if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} 3.875389{col 34} .2784158{col 46} 1.147938{col 58} 3.285174{col 70} 4.465604
       {txt}1 {c |}{res}{col 12}     13{col 22} 3.614852{col 34} .3473691{col 46} 1.252457{col 58} 2.857999{col 70} 4.371704
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22}  3.76249{col 34} .2155133{col 46} 1.180415{col 58} 3.321715{col 70} 4.203264
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2605375{col 34} .4451749{col 58}-.6568461{col 70} 1.177921
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5852
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  24.719

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7182         {txt}Pr(|T| > |t|) = {res}0.5637          {txt}Pr(T > t) = {res}0.2818
{txt}
{com}. * 0.56
. ttest sttottax_inc   if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     19{col 22} 5.123856{col 34} .2939287{col 46} 1.281206{col 58} 4.506335{col 70} 5.741377
       {txt}1 {c |}{res}{col 12}     13{col 22} 5.209973{col 34} .2216671{col 46} .7992322{col 58} 4.727002{col 70} 5.692944
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     32{col 22} 5.158841{col 34} .1938294{col 46} 1.096465{col 58} 4.763523{col 70} 5.554159
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0861173{col 34} .3681446{col 58}-.8381531{col 70} .6659186
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2339
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 29.8257

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4083         {txt}Pr(|T| > |t|) = {res}0.8166          {txt}Pr(T > t) = {res}0.5917
{txt}
{com}. *0.83
. ttest unemp   if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     19{col 22} 5.421053{col 34}   .46217{col 46} 2.014552{col 58} 4.450069{col 70} 6.392036
       {txt}1 {c |}{res}{col 12}     13{col 22}      5.8{col 34}  .440134{col 46} 1.586926{col 58}  4.84103{col 70}  6.75897
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     32{col 22}    5.575{col 34} .3243791{col 46} 1.834965{col 58} 4.913425{col 70} 6.236576
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3789475{col 34} .6382155{col 58} -1.68366{col 70} .9257651
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5938
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 29.3023

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2786         {txt}Pr(|T| > |t|) = {res}0.5572          {txt}Pr(T > t) = {res}0.7214
{txt}
{com}. *0.57
. ttest midterm  if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} .6470588{col 34} .1194712{col 46} .4925922{col 58} .3937913{col 70} .9003264
       {txt}1 {c |}{res}{col 12}     13{col 22} .3846154{col 34} .1404417{col 46} .5063697{col 58} .0786192{col 70} .6906115
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     30{col 22} .5333333{col 34} .0926411{col 46} .5074163{col 58}  .343861{col 70} .7228057
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2624434{col 34} .1843834{col 58}-.1168518{col 70} .6417387
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.4234
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 25.5981

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9166         {txt}Pr(|T| > |t|) = {res}0.1667          {txt}Pr(T > t) = {res}0.0834
{txt}
{com}. *0.16
. ttest stincpc_scaled if gov_strengthh<=0.51 & gov_strengthh>=0.49 , by(majh_gov) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     19{col 22} 11.99339{col 34} .7362469{col 46} 3.209226{col 58} 10.44659{col 70} 13.54019
       {txt}1 {c |}{res}{col 12}     13{col 22} 12.20109{col 34}   .84025{col 46} 3.029565{col 58} 10.37034{col 70} 14.03183
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     32{col 22} 12.07777{col 34} .5461157{col 46} 3.089297{col 58} 10.96396{col 70} 13.19158
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.207695{col 34} 1.117175{col 58}-2.500264{col 70} 2.084874
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1859
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.9208

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4270         {txt}Pr(|T| > |t|) = {res}0.8539          {txt}Pr(T > t) = {res}0.5730
{txt}
{com}. *0.85   
.         
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}\\efim-gw.cse.bris.ac.uk\eclmdm\files\LIVPaper\Slim Majorities 2017\LogSlimMajPSRM.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}29 Oct 2019, 12:28:12
{txt}{.-}
{smcl}
{txt}{sf}{ul off}